summaryrefslogtreecommitdiff
path: root/pkgbuild
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2013-12-12 12:49:05 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-12-12 12:56:57 +0900
commit0eb74fe4a186569e73f07c3db0deb6b775362861 (patch)
tree2a5e8d36fbb1578917728fdae4b69d7500fe50ae /pkgbuild
parente2c20040e82b4dc1b5de03aec35d04084c8ee95d (diff)
pkgbuild: follow AUR enlightenment17-git naming.
Diffstat (limited to 'pkgbuild')
-rw-r--r--pkgbuild/.gitignore2
-rw-r--r--pkgbuild/PKGBUILD (renamed from pkgbuild/PKGBUILD.in)21
2 files changed, 17 insertions, 6 deletions
diff --git a/pkgbuild/.gitignore b/pkgbuild/.gitignore
index 670e123c5..8b1378917 100644
--- a/pkgbuild/.gitignore
+++ b/pkgbuild/.gitignore
@@ -1 +1 @@
PKGBUILD
diff --git a/pkgbuild/PKGBUILD.in b/pkgbuild/PKGBUILD
index 9c32678fc..89d2b28fa 100644
--- a/pkgbuild/PKGBUILD.in
+++ b/pkgbuild/PKGBUILD
@@ -1,14 +1,15 @@
1# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>> 1# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>>
2 2pkgname=enlightenment17-git
3pkgname=enlightenment 3_pkgname=enlightenment
4pkgver=@VERSION@ 4pkgver=0.18.0.17379.44f8ab0
5pkgrel=1 5pkgrel=1
6pkgdesc="Enlightenment window manager - GIT development snapshot" 6pkgdesc="Enlightenment window manager - GIT development snapshot"
7arch=('i686' 'x86_64') 7arch=('i686' 'x86_64' 'arm')
8url="http://www.enlightenment.org" 8url="http://www.enlightenment.org"
9license=('BSD') 9license=('BSD')
10depends=('elementary' 'xcb-util-keysyms' 'hicolor-icon-theme' 10depends=('elementary' 'xcb-util-keysyms' 'hicolor-icon-theme'
11 'desktop-file-utils' 'udisks2' 'ttf-font' 'bluez-libs') 11 'desktop-file-utils' 'udisks2' 'ttf-font' 'bluez-libs')
12 [[ ! $(pacman -T "wayland>=1.2.90") ]] && depends+=('wayland>=1.2.90' 'pixman' 'mesa')
12optdepends=('connman: network module') 13optdepends=('connman: network module')
13provides=("enlightenment17=$pkgver" 'notification-daemon') 14provides=("enlightenment17=$pkgver" 'notification-daemon')
14conflicts=("enlightenment17") 15conflicts=("enlightenment17")
@@ -17,11 +18,21 @@ backup=('etc/enlightenment/sysactions.conf'
17options=('!libtool' 'debug') 18options=('!libtool' 'debug')
18install=enlightenment.install 19install=enlightenment.install
19 20
21pkgver() {
22 cd "../.."
23
24 for i in v_maj v_min v_mic; do
25 local _$i=$(grep -m 1 $i configure.ac | sed 's/m4//' | grep -o "[[:digit:]]*")
26 done
27
28 echo $_v_maj.$_v_min.$_v_mic.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
29}
30
20build() { 31build() {
21 cd "../.." 32 cd "../.."
22 export CFLAGS="$CFLAGS -fvisibility=hidden -fomit-frame-pointer" 33 export CFLAGS="$CFLAGS -fvisibility=hidden -fomit-frame-pointer"
23 [[ -e Makefile ]] && make clean distclean 34 [[ -e Makefile ]] && make clean distclean
24 ./configure --prefix=/usr --sysconfdir=/etc 35 ./configure --prefix=/usr --sysconfdir=/etc --enable-wayland-clients --enable-wayland-egl
25 make 36 make
26} 37}
27 38