forked from enlightenment/enlightenment
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
This commit is contained in:
parent
142292560f
commit
d208517a07
|
@ -69,7 +69,8 @@ endif
|
||||||
DISTCHECK_CONFIGURE_FLAGS = --disable-systemd
|
DISTCHECK_CONFIGURE_FLAGS = --disable-systemd
|
||||||
|
|
||||||
EXTRA_DIST = config.rpath README AUTHORS COPYING \
|
EXTRA_DIST = config.rpath README AUTHORS COPYING \
|
||||||
enlightenment.spec.in enlightenment.spec enlightenment.pc
|
enlightenment.spec.in enlightenment.spec enlightenment.pc \
|
||||||
|
pkgbuild/PKGBUILD pkgbuild/enlightenment.install
|
||||||
|
|
||||||
filesdir = $(datadir)/enlightenment/
|
filesdir = $(datadir)/enlightenment/
|
||||||
files_DATA = AUTHORS COPYING
|
files_DATA = AUTHORS COPYING
|
||||||
|
|
|
@ -1044,6 +1044,7 @@ config/default/Makefile
|
||||||
config/standard/Makefile
|
config/standard/Makefile
|
||||||
config/mobile/Makefile
|
config/mobile/Makefile
|
||||||
$po_makefile_in
|
$po_makefile_in
|
||||||
|
pkgbuild/PKGBUILD
|
||||||
])
|
])
|
||||||
|
|
||||||
# report
|
# report
|
||||||
|
|
|
@ -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"
|
||||||
|
}
|
|
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue