pkgbuild: follow AUR enlightenment17-git naming.
This commit is contained in:
parent
e2c20040e8
commit
0eb74fe4a1
|
@ -1028,7 +1028,6 @@ config/default/Makefile
|
|||
config/standard/Makefile
|
||||
config/mobile/Makefile
|
||||
$po_makefile_in
|
||||
pkgbuild/PKGBUILD
|
||||
])
|
||||
|
||||
# report
|
||||
|
|
|
@ -1 +1 @@
|
|||
PKGBUILD
|
||||
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>>
|
||||
|
||||
pkgname=enlightenment
|
||||
pkgver=@VERSION@
|
||||
pkgname=enlightenment17-git
|
||||
_pkgname=enlightenment
|
||||
pkgver=0.18.0.17379.44f8ab0
|
||||
pkgrel=1
|
||||
pkgdesc="Enlightenment window manager - GIT development snapshot"
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('i686' 'x86_64' 'arm')
|
||||
url="http://www.enlightenment.org"
|
||||
license=('BSD')
|
||||
depends=('elementary' 'xcb-util-keysyms' 'hicolor-icon-theme'
|
||||
'desktop-file-utils' 'udisks2' 'ttf-font' 'bluez-libs')
|
||||
[[ ! $(pacman -T "wayland>=1.2.90") ]] && depends+=('wayland>=1.2.90' 'pixman' 'mesa')
|
||||
optdepends=('connman: network module')
|
||||
provides=("enlightenment17=$pkgver" 'notification-daemon')
|
||||
conflicts=("enlightenment17")
|
||||
|
@ -17,11 +18,21 @@ backup=('etc/enlightenment/sysactions.conf'
|
|||
options=('!libtool' 'debug')
|
||||
install=enlightenment.install
|
||||
|
||||
pkgver() {
|
||||
cd "../.."
|
||||
|
||||
for i in v_maj v_min v_mic; do
|
||||
local _$i=$(grep -m 1 $i configure.ac | sed 's/m4//' | grep -o "[[:digit:]]*")
|
||||
done
|
||||
|
||||
echo $_v_maj.$_v_min.$_v_mic.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "../.."
|
||||
export CFLAGS="$CFLAGS -fvisibility=hidden -fomit-frame-pointer"
|
||||
[[ -e Makefile ]] && make clean distclean
|
||||
./configure --prefix=/usr --sysconfdir=/etc
|
||||
./configure --prefix=/usr --sysconfdir=/etc --enable-wayland-clients --enable-wayland-egl
|
||||
make
|
||||
}
|
||||
|
Loading…
Reference in New Issue