blob: 5687cd169ebe5d4d4975abb2cac00f4602abb5e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Contributor: Mike Crute <mike@crute.us>
# Maintainer: Mike Crute <mike@crute.us>
pkgname=znc-push
pkgver=0_git20210507
pkgrel=3
pkgdesc="Push notification service module for ZNC"
url="https://wiki.znc.in/Push"
arch="all"
license="MIT"
makedepends="znc-dev icu-dev openssl-dev zlib-dev"
# Upstream does not version, instead use the most recent hash of their master branch
_latest_upstream_hash="21c4da3b3173c0138f5c9e49ae9863a70600518b"
source="$pkgname-$pkgver.tar.gz::https://github.com/jreese/znc-push/archive/$_latest_upstream_hash.tar.gz"
options="!check" # Upstream has no tests
builddir="$srcdir/$pkgname-$_latest_upstream_hash"
build() {
make
}
package() {
install -D -m644 "$builddir"/push.so "$pkgdir"/usr/lib/znc/push.so
}
sha512sums="
da81fa3fef3acd69b2549fdb7689ea28c589a0e3026e81e57def902638a125c971027dd780e568204eec4ee23950677c5b620e0cfa72fdaf611eed900b4eaf33 znc-push-0_git20210507.tar.gz
"
|