diff options
author | Oleh Prypin | 2016-03-04 00:31:02 +0200 |
---|---|---|
committer | Oleh Prypin | 2016-03-04 00:31:02 +0200 |
commit | f552cfce0298826aa94b1e260f2dd11505a2d6f4 (patch) | |
tree | 61c69c04a761364d0a804a078e736e8603739895 | |
download | aur-znc-clientaway-git.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b322a8738b06 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Thu Mar 3 22:31:02 UTC 2016 +pkgbase = znc-clientaway-git + pkgdesc = ZNC module that sets clients away independently, and auto away + pkgver = r30.9f1f98d + pkgrel = 1 + url = http://wiki.znc.in/Clientaway + arch = i686 + arch = x86_64 + license = GPL2 + depends = znc + source = git+https://github.com/kylef/znc-contrib.git + sha256sums = SKIP + +pkgname = znc-clientaway-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..fb476c40885a --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +* +!.gitignore +!PKGBUILD +!*.install +!*.sysusers +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3a26d6d8648d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Oleh Prypin <aur@blaxpirit.com> +pkgname=znc-clientaway-git +pkgver=r30.9f1f98d +pkgrel=1 +pkgdesc="ZNC module that sets clients away independently, and auto away" +arch=('i686' 'x86_64') +url='http://wiki.znc.in/Clientaway' +license=('GPL2') +depends=('znc') +source=('git+https://github.com/kylef/znc-contrib.git') +sha256sums=('SKIP') + +pkgver() { + cd znc-contrib && + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd znc-contrib && + znc-buildmod clientaway.cpp +} + +package() { + cd znc-contrib && + install -Dm755 clientaway.so "$pkgdir/usr/lib/znc/clientaway.so" +} |