[arch-commits] Commit in enlightenment/trunk (PKGBUILD enlightenment.install)

Ronald van Haren ronald at nymeria.archlinux.org
Wed Jan 8 20:35:52 UTC 2014


    Date: Wednesday, January 8, 2014 @ 21:35:52
  Author: ronald
Revision: 203371

upgpkg: enlightenment 0.18.2-1

upload e18

Added:
  enlightenment/trunk/enlightenment.install
Modified:
  enlightenment/trunk/PKGBUILD

-----------------------+
 PKGBUILD              |   55 ++++++++++++++++++++++++------------------------
 enlightenment.install |   12 ++++++++++
 2 files changed, 40 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-08 20:34:02 UTC (rev 203370)
+++ PKGBUILD	2014-01-08 20:35:52 UTC (rev 203371)
@@ -1,39 +1,40 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Ronald van Haren <ronald at archlinux.org>
+# Contributor: Enlightenment Developers <enlightenment-devel at enlightenment.org>>
 
 pkgname=enlightenment
-pkgver=1.0.13
-_themever=1.0.1
+pkgver=0.18.2
 pkgrel=1
-pkgdesc="A fast, flexible, and very extensible Window Manager"
-arch=('i686' 'x86_64')
+pkgdesc="Enlightenment window manager"
+arch=('i686' 'x86_64' 'arm')
 url="http://www.enlightenment.org"
-license=('BSD' 'custom')
-depends=('libxinerama' 'imlib2' 'perl' 'pango' 'libxcomposite' \
-         'libxrandr' 'libpulse')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/e16-${pkgver}.tar.gz \
-        http://downloads.sourceforge.net/enlightenment/e16-themes-${_themever}.tar.gz)
-sha1sums=('bcb74385fb6d0732f735f27264ae02b539d136c9'
-          'ae34e2df1294198795736bf953bf695aba93b710')
+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}/e16-${pkgver}"
-  ./configure --prefix=/usr --sysconfdir=/etc --enable-sound-pulse
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CFLAGS="$CFLAGS -fvisibility=hidden"
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+	--enable-wayland-clients --enable-wayland-egl
   make
-
-  cd "${srcdir}/e16-themes-${_themever}"
-  ./configure --prefix=/usr
 }
 
 package() {
-  cd "${srcdir}/e16-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  install -D -m755 "${pkgdir}/usr/share/e16/misc/Xclients.e16-gnome.sh" "${pkgdir}/usr/bin/e16-gnome"
-  install -D -m755 "${pkgdir}/usr/share/e16/misc/Xclients.e16-kde.sh" "${pkgdir}/usr/bin/e16-kde"
-  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-  install -D -m644 fonts/COPYRIGHT.Vera "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT.Vera"
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make -j1 DESTDIR="$pkgdir" install
 
-  cd "${srcdir}/e16-themes-${_themever}"
-  make DESTDIR="${pkgdir}" install
-  chown -R root:root "${pkgdir}"/usr/share/*
+  # install LICENSE
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }

Added: enlightenment.install
===================================================================
--- enlightenment.install	                        (rev 0)
+++ enlightenment.install	2014-01-08 20:35:52 UTC (rev 203371)
@@ -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
+}




More information about the arch-commits mailing list