summaryrefslogtreecommitdiff
path: root/extra/enlightenment17/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/enlightenment17/PKGBUILD')
-rw-r--r--extra/enlightenment17/PKGBUILD34
1 files changed, 21 insertions, 13 deletions
diff --git a/extra/enlightenment17/PKGBUILD b/extra/enlightenment17/PKGBUILD
index 99555540e..5935d54e5 100644
--- a/extra/enlightenment17/PKGBUILD
+++ b/extra/enlightenment17/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 193669 2013-08-26 20:20:21Z ronald $
+# $Id: PKGBUILD 193683 2013-08-27 18:28:14Z ronald $
# Maintainer: Ronald van Haren <ronald@archlinux.org>
# Contributor: Gustavo Sverzut Barbieri <barbieri@gmail.com>
pkgname=enlightenment17
_pkgname=enlightenment
pkgver=0.17.4
-pkgrel=1
+pkgrel=2
pkgdesc="Enlightenment window manager DR17 (aka e17)"
arch=('i686' 'x86_64')
url="http://www.enlightenment.org"
@@ -19,12 +19,25 @@ backup=('etc/enlightenment/sysactions.conf')
options=('!libtool' '!emptydirs')
install=enlightenment17.install
source=(http://download.enlightenment.org/releases/$_pkgname-$pkgver.tar.gz
- 'e-applications.menu' 'quickstart.patch' 'sysactions_systemd.patch')
+ 'e-applications.menu' 'quickstart.patch' 'sysactions_systemd.patch'
+ 'blackscreenfix.patch')
sha1sums=('29f5f4c10bcc7b32f79013ccbc7257abeea78faf'
'e08cc63cb8a188a06705b42d03e032b9fcfa7ee5'
'3f53931ae86de8fe99e386aeb097521aac0decd8'
- '86f1c5e36dc274c3101362532378be034e89c593')
+ '86f1c5e36dc274c3101362532378be034e89c593'
+ '85f9b1378ebb7a05ed7f0e8db6982d88a0f46be4')
+
+prepare() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ patch -p0 < $srcdir/quickstart.patch
+
+ # upstream fix for blackscreen problem on existing configs
+ patch -Np1 -i $srcdir/blackscreenfix.patch
+
+ # default to systemd for sysactions
+ patch -Np0 < $srcdir/sysactions_systemd.patch
+}
build() {
cd "$srcdir/$_pkgname-$pkgver"
@@ -32,11 +45,6 @@ build() {
export CXXFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CXXFLAGS}"
export LDFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--as-needed ${LDFLAGS}"
- patch -p0 < $srcdir/quickstart.patch
-
- # default to systemd for sysactions
- patch -Np0 < $srcdir/sysactions_systemd.patch
-
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -67,13 +75,13 @@ package() {
make DESTDIR=$pkgdir install
# install license files
- if [ -e $srcdir/$_pkgname-$_pkgver/COPYING ]; then
- install -Dm644 $srcdir/$_pkgname-$_pkgver/COPYING \
+ if [ -e $srcdir/$_pkgname-$pkgver/COPYING ]; then
+ install -Dm644 $srcdir/$_pkgname-$pkgver/COPYING \
$pkgdir/usr/share/licenses/$pkgname/COPYING
fi
- if [ -e $srcdir/$_pkgname-$_pkgver/COPYING-PLAIN ]; then
- install -Dm644 $srcdir/$_pkgname-$_pkgver/COPYING-PLAIN \
+ if [ -e $srcdir/$_pkgname-$pkgver/COPYING-PLAIN ]; then
+ install -Dm644 $srcdir/$_pkgname-$pkgver/COPYING-PLAIN \
$pkgdir/usr/share/licenses/$pkgname/COPYING-PLAIN
fi