blob: 2f782823ddf916ee1155002a6dfaea2f804043ef (
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
|
_repo="znc-playback"
pkgname=${_repo}-git
pkgver=r73.8dd128b
pkgrel=1
pkgdesc="An advanced playback module for ZNC"
arch=('i686' 'x86_64')
url="https://github.com/jpnurmi/znc-playback"
license=('Apache')
depends=('znc')
makedepends=('git' 'cmake' 'python')
source=("git+https://github.com/jpnurmi/znc-playback.git")
pkgver() {
cd "$_repo"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_repo"
znc-buildmod playback.cpp
}
package() {
cd "$_repo"
install -Dm755 playback.so "$pkgdir/usr/lib/znc/playback.so"
}
sha256sums=('SKIP')
|