summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD37
2 files changed, 25 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a6973757342..7e3fc3e10f2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Tue May 29 15:17:59 UTC 2018
+# Sat Jan 26 17:50:37 UTC 2019
pkgbase = cerbere-git
pkgdesc = The Pantheon Watchdog
- pkgver = r117.e44a9dd
+ pkgver = 0.2.4
pkgrel = 1
url = https://github.com/elementary/cerbere
arch = x86_64
@@ -13,7 +13,6 @@ pkgbase = cerbere-git
makedepends = vala
depends = dconf
depends = glib2
- depends = glibc
depends = libgee
provides = cerbere
conflicts = cerbere
diff --git a/PKGBUILD b/PKGBUILD
index 848fd1c2e24..3ba45f09a27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,42 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=cerbere-git
-pkgver=r117.e44a9dd
+pkgver=0.2.4
pkgrel=1
pkgdesc='The Pantheon Watchdog'
-arch=('x86_64')
-url='https://github.com/elementary/cerbere'
-license=('GPL2')
-groups=('pantheon-unstable')
-depends=('dconf' 'glib2' 'glibc' 'libgee')
-makedepends=('git' 'meson' 'vala')
-provides=('cerbere')
-conflicts=('cerbere')
-source=('git+https://github.com/elementary/cerbere.git')
-sha256sums=('SKIP')
+arch=(x86_64)
+url=https://github.com/elementary/cerbere
+license=(GPL2)
+groups=(pantheon-unstable)
+depends=(
+ dconf
+ glib2
+ libgee
+)
+makedepends=(
+ git
+ meson
+ vala
+)
+provides=(cerbere)
+conflicts=(cerbere)
+source=(git+https://github.com/elementary/cerbere.git)
+sha256sums=(SKIP)
pkgver() {
cd cerbere
- echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ git describe --tags | sed 's/-/.r/; s/-g/./'
}
build() {
- arch-meson cerbere build
+ arch-meson cerbere build \
+ -D b_pie=false
ninja -C build
}
package() {
- DESTDIR="${pkgdir}" ninja -C build install
+ DESTDIR="${pkgdir}" meson install -C build
}
# vim: ts=2 sw=2 et: