aboutsummaryrefslogtreecommitdiffstats
path: root/pkgbuild/PKGBUILD.in
diff options
context:
space:
mode:
authorDoug Newgard <scimmia22@outlook.com>2013-11-07 19:59:03 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-07 19:59:04 +0900
commitd208517a079b157d00c8e2315015a8a6e29f4f56 (patch)
treed3fa433c11cc14db026b2673b24f581930ef90ea /pkgbuild/PKGBUILD.in
parentupdate readme version (diff)
downloadenlightenment-d208517a079b157d00c8e2315015a8a6e29f4f56.tar.gz
Add PKGBUILD
Summary: The other core programs/libs all have a PKGBUILD, so add it here, too. Reviewers: raster, zmike CC: cedric Differential Revision: https://phab.enlightenment.org/D285
Diffstat (limited to 'pkgbuild/PKGBUILD.in')
-rw-r--r--pkgbuild/PKGBUILD.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgbuild/PKGBUILD.in b/pkgbuild/PKGBUILD.in
new file mode 100644
index 000000000..9c32678fc
--- /dev/null
+++ b/pkgbuild/PKGBUILD.in
@@ -0,0 +1,37 @@
+# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>>
+
+pkgname=enlightenment
+pkgver=@VERSION@
+pkgrel=1
+pkgdesc="Enlightenment window manager - GIT development snapshot"
+arch=('i686' 'x86_64')
+url="http://www.enlightenment.org"
+license=('BSD')
+depends=('elementary' 'xcb-util-keysyms' 'hicolor-icon-theme'
+ 'desktop-file-utils' 'udisks2' 'ttf-font' 'bluez-libs')
+optdepends=('connman: network module')
+provides=("enlightenment17=$pkgver" 'notification-daemon')
+conflicts=("enlightenment17")
+backup=('etc/enlightenment/sysactions.conf'
+ 'etc/xdg/menus/enlightenment.menu')
+options=('!libtool' 'debug')
+install=enlightenment.install
+
+build() {
+ cd "../.."
+ export CFLAGS="$CFLAGS -fvisibility=hidden -fomit-frame-pointer"
+ [[ -e Makefile ]] && make clean distclean
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "../.."
+ make -j1 DESTDIR="$pkgdir" install
+ install -Dm644 AUTHORS "$pkgdir/usr/share/$pkgname/AUTHORS"
+ install -Dm644 ChangeLog "$pkgdir/usr/share/$pkgname/ChangeLog"
+ install -Dm644 NEWS "$pkgdir/usr/share/$pkgname/NEWS"
+ install -Dm644 README "$pkgdir/usr/share/$pkgname/README"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ ln -sf "../licenses/$pkgname/COPYING" "$pkgdir/usr/share/$pkgname/COPYING"
+}