summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJonathan Liu2015-06-27 15:36:35 +1000
committerJonathan Liu2015-06-27 15:36:35 +1000
commit067367b9e0b2a309b15e4f24b6b91cc01ce8fdeb (patch)
treeddacd0f71b4c63f6a692dce8747aa43e8d591880 /PKGBUILD
downloadaur-067367b9e0b2a309b15e4f24b6b91cc01ce8fdeb.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..49bdef49e6c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Jonathan Liu <net147@gmail.com>
+pkgname=znc-palaver-git
+_gitname=znc-palaver
+pkgver=r31.f159c78
+pkgrel=1
+pkgdesc="Palaver ZNC module provides push notifications"
+arch=('i686' 'x86_64')
+url="git://github.com/cocodelabs/znc-palaver"
+license=('MIT')
+depends=('znc')
+source=("git://github.com/cocodelabs/${_gitname}.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${_gitname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${_gitname}"
+ make
+}
+
+package() {
+ cd "${_gitname}"
+ install -d -m750 "${pkgdir}/var/lib/znc"
+ install -d -m700 "${pkgdir}/var/lib/znc/.znc"
+ install -D -m644 palaver.so "${pkgdir}/var/lib/znc/.znc/modules/palaver.so"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: