forked from enlightenment/efl
pkgbuild: follow aur efl-git version naming.
This commit is contained in:
parent
3d132d722f
commit
87be907144
|
@ -3758,7 +3758,6 @@ src/lib/eina/eina_config.h
|
||||||
src/lib/ecore_x/ecore_x_version.h
|
src/lib/ecore_x/ecore_x_version.h
|
||||||
src/lib/efl/Efl_Config.h
|
src/lib/efl/Efl_Config.h
|
||||||
spec/efl.spec
|
spec/efl.spec
|
||||||
pkgbuild/PKGBUILD
|
|
||||||
pc/evil.pc
|
pc/evil.pc
|
||||||
pc/escape.pc
|
pc/escape.pc
|
||||||
pc/eina.pc
|
pc/eina.pc
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/PKGBUILD
|
|
||||||
/pkg
|
/pkg
|
||||||
/src
|
/src
|
||||||
/*.tar.xz
|
/*.tar.xz
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
||||||
pkgname=('efl' 'efl_doc')
|
pkgname=('efl-git' 'efl_doc-git')
|
||||||
pkgver=@VERSION@
|
_pkgname=${pkgname%-*}
|
||||||
|
pkgver=1.8.99.23938.7299d55
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Enlightenment Foundation Libraries - GIT development snapshot (Ecore, Eldbus, Edje, Eet, Eeze, Efreet, Eina, Eio, Embryo, Emotion, Eo, Ephysics, Ethumb, & Evas)"
|
pkgdesc="Enlightenment Foundation Libraries - GIT development snapshot (Ecore, Eldbus, Edje, Eet, Eeze, Efreet, Eina, Eio, Embryo, Emotion, Eo, Ephysics, Ethumb, & Evas)"
|
||||||
arch=('i686' 'x86_64' 'arm')
|
arch=('i686' 'x86_64' 'arm')
|
||||||
|
@ -17,15 +18,26 @@ depends=('bullet' 'libpng' 'libjpeg-turbo' 'gstreamer0.10'
|
||||||
'libxi' 'libxrandr' 'libxrender' 'libxss' 'libxtst'
|
'libxi' 'libxrandr' 'libxrender' 'libxss' 'libxtst'
|
||||||
'libxcursor' 'libxp' 'libgl' 'giflib' 'libwebp' 'harfbuzz'
|
'libxcursor' 'libxp' 'libgl' 'giflib' 'libwebp' 'harfbuzz'
|
||||||
'wayland' 'sdl')
|
'wayland' 'sdl')
|
||||||
|
[[ ! $(pacman -T "openjpeg") ]] && depends+=('openjpeg') #jpeg2k loader is autodetected at build time
|
||||||
|
makedepends=('git')
|
||||||
provides=("ecore=$pkgver" "eldbus=$pkgver" "edje=$pkgver"
|
provides=("ecore=$pkgver" "eldbus=$pkgver" "edje=$pkgver"
|
||||||
"eet=$pkgver" "eeze=$pkgver" "efreet=$pkgver"
|
"eet=$pkgver" "eeze=$pkgver" "efreet=$pkgver"
|
||||||
"eina=$pkgver" "eio=$pkgver" "embryo=$pkgver" "emotion=$pkgver"
|
"eina=$pkgver" "eio=$pkgver" "embryo=$pkgver" "emotion=$pkgver"
|
||||||
"ephysics=$pkgver" "ethumb=$pkgver" "evas=$pkgver" "efl-git")
|
"ephysics=$pkgver" "ethumb=$pkgver" "evas=$pkgver" "$_pkgname=$pkgver")
|
||||||
conflicts=('ecore' 'edje' 'eet' 'eeze' 'efreet' 'eina' 'eio' 'embryo' 'emotion'
|
conflicts=('ecore' 'edje' 'eet' 'eeze' 'efreet' 'eina' 'eio' 'embryo' 'emotion'
|
||||||
'ethumb' 'evas' 'efl-git')
|
'ethumb' 'evas' "$_pkgname")
|
||||||
options=('!libtool' 'debug')
|
options=('!libtool' 'debug')
|
||||||
install=efl.install
|
install=efl.install
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "../.."
|
||||||
|
|
||||||
|
local efl_version=$(grep -m 1 EFL_VERSION configure.ac | grep -o "[[:digit:]]*" | tr '\n' '.')
|
||||||
|
efl_version=$(awk -F , -v efl_version=${efl_version%.} '/^AC_INIT/ {gsub(/efl_version/, efl_version); gsub(/[\[\] -]/, ""); print $2}' configure.ac)
|
||||||
|
|
||||||
|
printf "$efl_version.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
sed -i 's/env python$/&2/' "../../src/scripts/eina/eina-bench-cmp"
|
sed -i 's/env python$/&2/' "../../src/scripts/eina/eina-bench-cmp"
|
||||||
}
|
}
|
||||||
|
@ -49,7 +61,7 @@ build() {
|
||||||
# make -k check
|
# make -k check
|
||||||
#}
|
#}
|
||||||
|
|
||||||
package_efl() {
|
package_efl-git() {
|
||||||
cd "../.."
|
cd "../.."
|
||||||
make -j1 DESTDIR="$pkgdir/" install
|
make -j1 DESTDIR="$pkgdir/" install
|
||||||
install -Dm644 README "$pkgdir/usr/share/$pkgname/README"
|
install -Dm644 README "$pkgdir/usr/share/$pkgname/README"
|
||||||
|
@ -67,7 +79,7 @@ package_efl() {
|
||||||
ln -s "../licenses/$pkgname/COPYING.SMALL" "$pkgdir/usr/share/$pkgname/COPYING.SMALL"
|
ln -s "../licenses/$pkgname/COPYING.SMALL" "$pkgdir/usr/share/$pkgname/COPYING.SMALL"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_efl_doc() {
|
package_efl_doc-git() {
|
||||||
pkgdesc="Documentation for the Enlightenment Foundation Libraries"
|
pkgdesc="Documentation for the Enlightenment Foundation Libraries"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
unset license depends provides conflicts install
|
unset license depends provides conflicts install
|
Loading…
Reference in New Issue