summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorleela2018-04-10 02:37:21 +1000
committerleela2018-04-10 02:37:21 +1000
commit6aa8c9b2c1417a7ef48323eba01ccc1071a23cca (patch)
tree7ac5652731cd16814eeddc17f23c28275e7e0100
parentaa01b08e6873963c69b69da096a7226cc4c81aab (diff)
downloadaur-6aa8c9b2c1417a7ef48323eba01ccc1071a23cca.tar.gz
Clean up by Ethan Skinner <aur@etskinner.com>
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD23
-rw-r--r--znc-push-git-v1.0.0.r116.g717a2b1-1.src.tar.gzbin816 -> 0 bytes
3 files changed, 17 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e21c58cc9550..995cedc5d8da 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,17 @@
-# Generated by mksrcinfo v8
-# Fri Jan 1 12:55:07 UTC 2016
pkgbase = znc-push-git
- pkgdesc = ZNC Push is a module for ZNC that will send notifications to multiple push notification services
- pkgver = v1.0.0.r116.g717a2b1
+ pkgdesc = A module for ZNC that sends notifications to push notification services
+ pkgver = v1.0.0.r163.d2cf0d3
pkgrel = 1
url = http://noswap.com/projects/znc-push
arch = i686
arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ arch = aarch64
license = MIT
depends = znc
- source = git+https://github.com/jreese/znc-push.git
- sha256sums = SKIP
+ source = znc-push-git::git+git://github.com/jreese/znc-push.git
+ md5sums = SKIP
pkgname = znc-push-git
diff --git a/PKGBUILD b/PKGBUILD
index d2dfe616b60d..a3ea71f02e8e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,28 @@
# Maintainer: Leela Ross <leela@leela-ross.com>
+# Contributor: Ethan Skinner <aur@etskinner.com>
pkgname=znc-push-git
-pkgver=v1.0.0.r116.g717a2b1
+pkgver=v1.0.0.r163.d2cf0d3
pkgrel=1
-pkgdesc="ZNC Push is a module for ZNC that will send notifications to multiple push notification services"
+pkgdesc="A module for ZNC that sends notifications to push notification services"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="http://noswap.com/projects/znc-push"
license=('MIT')
depends=('znc')
-source=("git+https://github.com/jreese/znc-push.git")
-sha256sums=('SKIP')
+source=("${pkgname}::git+git://github.com/jreese/znc-push.git")
+md5sums=('SKIP')
pkgver() {
- cd znc-push
- ( 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)"
- )
+ cd "$srcdir/${pkgname}"
+ printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {
- cd znc-push
- znc-buildmod push.cpp
+ cd "$srcdir/${pkgname}"
+ make curl=yes
}
package() {
- cd znc-push
+ cd "$srcdir/${pkgname}"
install -Dm755 push.so "$pkgdir/usr/lib/znc/push.so"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
-
diff --git a/znc-push-git-v1.0.0.r116.g717a2b1-1.src.tar.gz b/znc-push-git-v1.0.0.r116.g717a2b1-1.src.tar.gz
deleted file mode 100644
index 3dc8b3f45d5d..000000000000
--- a/znc-push-git-v1.0.0.r116.g717a2b1-1.src.tar.gz
+++ /dev/null
Binary files differ