summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2017-05-01 17:44:26 +0200
committerMaxime Gauduin2017-05-01 17:44:26 +0200
commit0771bbd3c107926fc5d7e20ad160a5a64767d452 (patch)
tree670a048abcb6463a19aa3f4b6dc0ed62afc37f11
downloadaur-0771bbd3c107926fc5d7e20ad160a5a64767d452.tar.gz
Add cerbere-git
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD50
2 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..655c34db56d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+# Generated by mksrcinfo v8
+# Mon May 1 15:44:26 UTC 2017
+pkgbase = cerbere-git
+ pkgdesc = The Pantheon Watchdog
+ pkgver = r107.c11a2af
+ pkgrel = 1
+ url = https://github.com/elementary/cerbere
+ arch = i686
+ arch = x86_64
+ groups = pantheon-unstable
+ license = GPL2
+ makedepends = cmake
+ makedepends = git
+ makedepends = vala
+ depends = dconf
+ depends = glib2
+ depends = glibc
+ depends = libgee
+ provides = cerbere
+ conflicts = cerbere
+ replaces = cerbere-bzr
+ source = git+https://github.com/elementary/cerbere.git
+ sha256sums = SKIP
+
+pkgname = cerbere-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..94e46763593
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+
+pkgname=cerbere-git
+pkgver=r107.c11a2af
+pkgrel=1
+pkgdesc='The Pantheon Watchdog'
+arch=('i686' 'x86_64')
+url='https://github.com/elementary/cerbere'
+license=('GPL2')
+groups=('pantheon-unstable')
+depends=('dconf' 'glib2' 'glibc' 'libgee')
+makedepends=('cmake' 'git' 'vala')
+provides=('cerbere')
+conflicts=('cerbere')
+replaces=('cerbere-bzr')
+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)"
+}
+
+prepare() {
+ cd cerbere
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd cerbere/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DGSETTINGS_COMPILE='OFF'
+ make
+}
+
+package() {
+ cd cerbere/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et: