summaryrefslogtreecommitdiff
path: root/extra/enlightenment
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-18 03:29:33 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-18 03:29:33 +0000
commitf4cbb127d45017c14988b232dbae02bc2858c6df (patch)
tree71d864fa346c59efa48d7c029334b366c6597317 /extra/enlightenment
parent953eead14ccfe47904e73cee9cea6e1255f57356 (diff)
Sat Jan 18 03:25:57 UTC 2014
Diffstat (limited to 'extra/enlightenment')
-rw-r--r--extra/enlightenment/PKGBUILD40
-rw-r--r--extra/enlightenment/enlightenment.install12
2 files changed, 52 insertions, 0 deletions
diff --git a/extra/enlightenment/PKGBUILD b/extra/enlightenment/PKGBUILD
new file mode 100644
index 000000000..06481e29f
--- /dev/null
+++ b/extra/enlightenment/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Ronald van Haren <ronald@archlinux.org>
+# Contributor: Enlightenment Developers <enlightenment-devel@enlightenment.org>>
+
+pkgname=enlightenment
+pkgver=0.18.2
+pkgrel=1
+pkgdesc="Enlightenment window manager"
+arch=('i686' 'x86_64' 'arm')
+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=('e293108b8c5d6c7643ea868550763c9e8e0d6d08')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ export CFLAGS="$CFLAGS -fvisibility=hidden"
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --enable-wayland-clients --enable-wayland-egl
+ 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
+}