aboutsummaryrefslogtreecommitdiffstats
path: root/testing/znc-backlog/APKBUILD
blob: 81e0d4d6de7402c662bfe97c815a27d555caf6d8 (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-backlog
pkgver=0_git20210503
pkgrel=4
pkgdesc="Request backlog for IRC channels"
url="https://wiki.znc.in/Backlog"
arch="all"
license="Apache-2.0"
makedepends="znc-dev icu-dev openssl-dev>3 zlib-dev"
# Upstream does not version, instead use the most recent hash of their master branch
_latest_upstream_hash="44314a6aca0409ae59b0d841807261be1159fff4"
source="$pkgname-$pkgver.tar.gz::https://github.com/FruitieX/znc-backlog/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"/backlog.so "$pkgdir"/usr/lib/znc/backlog.so
}

sha512sums="
7dc77c5aa0243b147b5cf8ffd15566a2859927c856ec364c25809c5a2394733c703f6bc292ef55f9e9be74d4bab9921feeb208a669c153e43d405226796cc41c  znc-backlog-0_git20210503.tar.gz
"