diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | znc-mailnotify-git-r87.f89ebda-1.src.tar.gz | bin | 0 -> 799 bytes |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ef6fbb9b0ff2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Fri Jan 1 12:42:23 UTC 2016 +pkgbase = znc-mailnotify-git + pkgdesc = ZNC mailnotify is a module for ZNC that will send notifications to a specified mailbox + pkgver = r87.f89ebda + pkgrel = 1 + url = https://github.com/milaq/znc-mailnotify + arch = i686 + arch = x86_64 + license = MIT + depends = znc + source = git+https://github.com/milaq/znc-mailnotify.git + sha256sums = SKIP + +pkgname = znc-mailnotify-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c63671b91785 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Leela Ross <leela@leela-ross.com> +pkgname=znc-mailnotify-git +pkgver=r87.f89ebda +pkgrel=1 +pkgdesc="ZNC mailnotify is a module for ZNC that will send notifications +to a specified mailbox" +arch=('i686' 'x86_64') +url="https://github.com/milaq/znc-mailnotify" +license=('MIT') +depends=('znc') +source=("git+https://github.com/milaq/znc-mailnotify.git") +sha256sums=('SKIP') + +pkgver() { + cd znc-mailnotify + ( set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +build() { + cd znc-mailnotify + znc-buildmod mailnotify.cpp +} + +package() { + cd znc-mailnotify + install -Dm755 mailnotify.so "$pkgdir/usr/lib/znc/mailnotify.so" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/znc-mailnotify-git-r87.f89ebda-1.src.tar.gz b/znc-mailnotify-git-r87.f89ebda-1.src.tar.gz Binary files differnew file mode 100644 index 000000000000..28fe245e2691 --- /dev/null +++ b/znc-mailnotify-git-r87.f89ebda-1.src.tar.gz |