blob: b838372a3e7a644a66c4f63377f90e10f4c10748 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=bmd-tools
pkgver=1.0.1
pkgrel=0
pkgdesc="Tools for Blackmagic USB video encoders"
url="https://github.com/fabled/bmd-tools"
arch="all"
license="GPL-2.0"
depends=""
makedepends="libusb-dev"
install=""
subpackages=""
source="bmd-tools-$pkgver.tar.gz::https://github.com/fabled/bmd-tools/archive/v$pkgver.tar.gz
bmd-streamer.initd
bmd-streamer.confd
"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
make
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/bin
install -s -m755 bmd-streamer bmd-extractfw \
"$pkgdir"/usr/bin
install -m755 -D "$srcdir"/bmd-streamer.initd \
"$pkgdir"/etc/init.d/bmd-streamer
install -m755 -D "$srcdir"/bmd-streamer.confd \
"$pkgdir"/etc/conf.d/bmd-streamer
}
sha512sums="1231e895d54da642ef917747e46ce70b5041ab715c2a54524c56eb3752691d7d90e30e268572bbac7877d2b154c92837f1e4fc3768916c99ed180cd60abe4cfc bmd-tools-1.0.1.tar.gz
158bb596d25be53bfcc9a4c2e678b61304c522124f64812ed7c1168a6b39735f15579999acb2853ee710ba59593ad7a57c970d21dba467096a8d0505af6f4c66 bmd-streamer.initd
e3760e4b9148d9f8467db519ff8ee2a161be1556a56bef9383a3e34a20c5960fff835a68d3e4f4a31b771e861d95f6fc4537fcb53675ac5f89d76b6ad49f8cea bmd-streamer.confd"
|