pkgbuild: follow AUR elemetary-git version naming.
This commit is contained in:
parent
4cf069ede9
commit
4471e2f7ec
|
@ -743,7 +743,6 @@ config/mobile/Makefile
|
||||||
$po_makefile_in
|
$po_makefile_in
|
||||||
cmakeconfig/ElementaryConfig.cmake
|
cmakeconfig/ElementaryConfig.cmake
|
||||||
cmakeconfig/ElementaryConfigVersion.cmake
|
cmakeconfig/ElementaryConfigVersion.cmake
|
||||||
pkgbuild/PKGBUILD
|
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/PKGBUILD
|
|
||||||
/pkg
|
/pkg
|
||||||
/src
|
/src
|
||||||
/*.tar.xz
|
/*.tar.xz
|
||||||
|
|
|
@ -1,15 +1,34 @@
|
||||||
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
||||||
pkgname=('elementary' 'elementary_test' 'elementary_doc')
|
pkgname=elementary-git
|
||||||
pkgver=@VERSION@
|
_pkgname=${pkgname%-*}
|
||||||
|
true && pkgname=('elementary-git' 'elementary_test-git' 'elementary_doc-git')
|
||||||
|
pkgver=1.8.99.8967.a1cfce6
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Enlightenment GUI toolkit - GIT development snapshot"
|
pkgdesc="Enlightenment GUI toolkit - GIT development snapshot"
|
||||||
arch=('i686' 'x86_64' 'arm')
|
arch=('i686' 'x86_64' 'arm')
|
||||||
url="http://www.enlightenment.org"
|
url="http://www.enlightenment.org"
|
||||||
license=('LGPL2.1' 'CCPL:cc-by-sa')
|
license=('LGPL2.1' 'CCPL:cc-by-sa')
|
||||||
makedepends=('doxygen' 'imagemagick')
|
makedepends=('doxygen' 'imagemagick' 'git')
|
||||||
depends=('efl' 'evas_generic_loaders')
|
depends=('efl-git')
|
||||||
optdepends=('emotion_generic_players')
|
[[ ! $(pacman -T ewebkit-svn) ]] && depends+=('ewebkit-svn') # webkit-efl support is detected at build time
|
||||||
|
[[ ! $(pacman -T elocation-git) ]] && depends+=('elocation-git') # elocation support is detected at build time
|
||||||
|
[[ ! $(pacman -T libeweather-git) ]] && depends+=('libeweather-git') # eweather support is detected at build time
|
||||||
|
optdepends=('emotion_generic_players' 'evas_generic_loaders')
|
||||||
options=('!libtool' 'debug')
|
options=('!libtool' 'debug')
|
||||||
|
provides=('elementary')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "../.."
|
||||||
|
|
||||||
|
for _i in v_maj v_min v_mic; do
|
||||||
|
local v_ver=$v_ver.$(grep -m 1 $_i configure.ac | sed 's/m4//' | grep -o "[[:digit:]]*")
|
||||||
|
done
|
||||||
|
|
||||||
|
v_ver=$(awk -F , -v v_ver=${v_ver#.} '/^AC_INIT/ {gsub(/v_ver/, v_ver); gsub(/[\[\] -]/, ""); print $2}' configure.ac)
|
||||||
|
|
||||||
|
printf "$v_ver.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "../.."
|
cd "../.."
|
||||||
export CFLAGS="$CFLAGS -fvisibility=hidden -fomit-frame-pointer"
|
export CFLAGS="$CFLAGS -fvisibility=hidden -fomit-frame-pointer"
|
||||||
|
@ -25,7 +44,7 @@ build() {
|
||||||
# make -k check
|
# make -k check
|
||||||
#}
|
#}
|
||||||
|
|
||||||
package_elementary() {
|
package_elementary-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"
|
||||||
|
@ -43,7 +62,7 @@ package_elementary() {
|
||||||
rm -rf "$pkgdir/usr/share/elementary/"{examples,images,objects}
|
rm -rf "$pkgdir/usr/share/elementary/"{examples,images,objects}
|
||||||
}
|
}
|
||||||
|
|
||||||
package_elementary_test() {
|
package_elementary_test-git() {
|
||||||
pkgdesc="Test application for Elementary"
|
pkgdesc="Test application for Elementary"
|
||||||
depends=('elementary')
|
depends=('elementary')
|
||||||
|
|
||||||
|
@ -58,7 +77,7 @@ package_elementary_test() {
|
||||||
rm -rf "$pkgdir/usr/share/"{icons,locale}
|
rm -rf "$pkgdir/usr/share/"{icons,locale}
|
||||||
}
|
}
|
||||||
|
|
||||||
package_elementary_doc() {
|
package_elementary_doc-git() {
|
||||||
pkgdesc="Documentation for Elementary"
|
pkgdesc="Documentation for Elementary"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
unset depends optdepends
|
unset depends optdepends
|
Loading…
Reference in New Issue