[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Tue Jan 19 12:49:31 UTC 2021


    Date: Tuesday, January 19, 2021 @ 12:49:30
  Author: arojas
Revision: 823684

extra2community: Moving enlightenment from extra to community

Added:
  enlightenment/
  enlightenment/repos/
  enlightenment/trunk/
  enlightenment/trunk/PKGBUILD

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Added: enlightenment/trunk/PKGBUILD
===================================================================
--- enlightenment/trunk/PKGBUILD	                        (rev 0)
+++ enlightenment/trunk/PKGBUILD	2021-01-19 12:49:30 UTC (rev 823684)
@@ -0,0 +1,51 @@
+# Maintainer: Ronald van Haren <ronald at archlinux.org>
+# Contributor: Enlightenment Developers <enlightenment-devel at enlightenment.org>>
+
+pkgname=enlightenment
+pkgver=0.24.2
+pkgrel=1
+pkgdesc="Enlightenment window manager"
+arch=('x86_64')
+url="http://www.enlightenment.org"
+license=('BSD')
+depends=('efl' 'xcb-util-keysyms' 'hicolor-icon-theme' 'pixman' 'mesa'
+         'desktop-file-utils' 'udisks2' 'ttf-font' 'bluez-libs' 'pam')
+optdepends=('connman: network module'
+            'acpid: power events on laptop lid close'
+            'geoip-database: geolocation module'
+            'xorg-server-xwayland: xwayland support'
+            'packagekit: needed for packagekit module')
+makedepends=('xorg-server-xwayland' 'meson' 'ninja')
+provides=('notification-daemon')
+backup=('etc/enlightenment/sysactions.conf'
+        'etc/xdg/menus/e-applications.menu')
+source=("https://download.enlightenment.org/rel/apps/${pkgname}/$pkgname-$pkgver.tar.xz")
+sha256sums=('be18e2f18d6c0b058f633e769863d3cbc4c07b629058ae670dec74cd7906dff1')
+
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
+  CFLAGS+=' -fvisibility=hidden'
+
+  if [ -d build ]; then
+    rm -f build
+  fi
+  mkdir build
+  meson --prefix=/usr \
+    -Dwl=true \
+    . build
+
+  ninja -C build
+  }
+
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  DESTDIR="$pkgdir" ninja -C build install
+  
+  # install LICENSE
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}



More information about the arch-commits mailing list