aboutsummaryrefslogtreecommitdiffstats
path: root/testing/znc-playback/APKBUILD
blob: 7c86210130f320751751d6288d1111a9662bcb45 (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-playback
pkgver=0_git20210503
pkgrel=3
pkgdesc="An advanced playback module for ZNC"
url="https://wiki.znc.in/Playback"
arch="all"
license="Unlicense"
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="8dd128bfe2b24b2cc6a9ea2e2d28bfaa28d2a833"
source="$pkgname-$pkgver.tar.gz::https://github.com/jpnurmi/znc-playback/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"/playback.so "$pkgdir"/usr/lib/znc/playback.so
}

sha512sums="
50e924574c71fb6ace98c654201040aa2c193f4f1f811aa2ea26ad6ce6ced21bafe61c207936164125d84509e252890b383b21d904fe4cd46490711073052daf  znc-playback-0_git20210503.tar.gz
"