diff --git a/extra/enlightenment/PKGBUILD b/extra/enlightenment/PKGBUILD new file mode 100644 index 000000000..9ce21380d --- /dev/null +++ b/extra/enlightenment/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Ronald van Haren +# Contributor: Enlightenment Developers > + +pkgname=enlightenment +pkgver=0.18.8 +pkgrel=1 +pkgdesc="Enlightenment window manager" +arch=('i686' 'x86_64') +url="http://www.enlightenment.org" +license=('BSD') +depends=('elementary' 'xcb-util-keysyms' 'hicolor-icon-theme' 'pixman' 'mesa' + 'desktop-file-utils' 'udisks2' 'ttf-font' 'bluez-libs') +optdepends=('connman: network module' + 'acpid: power events on laptop lid close') +provides=("enlightenment17=$pkgver" 'notification-daemon') +conflicts=("enlightenment17") +replaces=("enlightenment17") +backup=('etc/enlightenment/sysactions.conf' + 'etc/xdg/menus/enlightenment.menu') +source=(http://download.enlightenment.org/rel/apps/${pkgname}/$pkgname-$pkgver.tar.gz) +install=enlightenment.install +sha1sums=('71d6212fc55ba65a47d656b0bc4891684445e3ff') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + export CFLAGS="$CFLAGS -fvisibility=hidden" + + ./configure --prefix=/usr --sysconfdir=/etc \ + --enable-wayland-egl \ + --enable-wayland-clients + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make -j1 DESTDIR="$pkgdir" install + + # install LICENSE + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} diff --git a/extra/enlightenment/enlightenment.install b/extra/enlightenment/enlightenment.install new file mode 100644 index 000000000..1182e768f --- /dev/null +++ b/extra/enlightenment/enlightenment.install @@ -0,0 +1,12 @@ +post_install() { + update-mime-database usr/share/mime > /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}