summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 9 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 00307e4d2f8..421aed251d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,36 +4,32 @@
pkgname=anna
pkgdesc="Spawny with a efl greeter"
pkgver=0.2
-pkgrel=2
+pkgrel=3
url="http://github.com/marcelhollerbach/anna"
arch=('i686' 'x86_64')
license=('BSD')
depends=('efl' 'protobuf-c')
makedepends=('git' 'meson')
-provides=("$pkgname=$pkgver")
source=("https://github.com/marcelhollerbach/anna/archive/v${pkgver}.tar.gz" 'spawny.sysusers' 'spawny.tmpfiles')
-install=${pkgname}.install
+install=anna.install
sha256sums=('5265f4dfae274c1f6cf0e0ee8fa223829a874f6e0a1ac4dc06fbd01d106f8130'
'a4b1f5af59834422b83ed955f9062a838b234a14e58168b80061bd6fd66508a1'
- '01c36957bbd928aab112ee79b37c705c2f8a0e21a8394fd63fd7afae08644b56')
+ '01c36957bbd928aab112ee79b37c705c2f8a0e21a8394fd63fd7afae08644b56')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- mkdir -p build
- cd build
- rm -rf ./*
- meson --buildtype=release --prefix=/usr ..
- ninja all
+ meson --buildtype=release --prefix=/usr --sysconfdir=/etc build/
+ ninja -C build/ all
}
check() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
- ninja test
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ninja -C build/ test
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
- DESTDIR="$pkgdir" ninja install
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ DESTDIR="$pkgdir" ninja -C build/ install
install -D -m644 ${srcdir}/spawny.sysusers ${pkgdir}/usr/lib/sysusers.d/spawny.conf
install -D -m644 ${srcdir}/spawny.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/spawny.conf
}