You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.7 KiB
49 lines
1.7 KiB
10 years ago
|
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>>
|
||
9 years ago
|
pkgname=enlightenment17-git
|
||
|
_pkgname=enlightenment
|
||
|
pkgver=0.18.0.17379.44f8ab0
|
||
10 years ago
|
pkgrel=1
|
||
|
pkgdesc="Enlightenment window manager - GIT development snapshot"
|
||
9 years ago
|
arch=('i686' 'x86_64' 'arm')
|
||
10 years ago
|
url="http://www.enlightenment.org"
|
||
|
license=('BSD')
|
||
|
depends=('elementary' 'xcb-util-keysyms' 'hicolor-icon-theme'
|
||
|
'desktop-file-utils' 'udisks2' 'ttf-font' 'bluez-libs')
|
||
9 years ago
|
[[ ! $(pacman -T "wayland>=1.2.90") ]] && depends+=('wayland>=1.2.90' 'pixman' 'mesa')
|
||
10 years ago
|
optdepends=('connman: network module')
|
||
|
provides=("enlightenment17=$pkgver" 'notification-daemon')
|
||
|
conflicts=("enlightenment17")
|
||
|
backup=('etc/enlightenment/sysactions.conf'
|
||
|
'etc/xdg/menus/enlightenment.menu')
|
||
|
options=('!libtool' 'debug')
|
||
|
install=enlightenment.install
|
||
|
|
||
9 years ago
|
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)
|
||
|
}
|
||
|
|
||
10 years ago
|
build() {
|
||
|
cd "../.."
|
||
|
export CFLAGS="$CFLAGS -fvisibility=hidden -fomit-frame-pointer"
|
||
|
[[ -e Makefile ]] && make clean distclean
|
||
9 years ago
|
./configure --prefix=/usr --sysconfdir=/etc --enable-wayland-clients --enable-wayland-egl
|
||
10 years ago
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "../.."
|
||
|
make -j1 DESTDIR="$pkgdir" install
|
||
|
install -Dm644 AUTHORS "$pkgdir/usr/share/$pkgname/AUTHORS"
|
||
|
install -Dm644 ChangeLog "$pkgdir/usr/share/$pkgname/ChangeLog"
|
||
|
install -Dm644 NEWS "$pkgdir/usr/share/$pkgname/NEWS"
|
||
|
install -Dm644 README "$pkgdir/usr/share/$pkgname/README"
|
||
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||
|
ln -sf "../licenses/$pkgname/COPYING" "$pkgdir/usr/share/$pkgname/COPYING"
|
||
|
}
|