blob: 50364e3169b556bb38586616cd789cc35ec8a630 (
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.2
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="bcd6375c23541ef65e8cdf9222c94c4d90bf43976524987c0464b8570533efad15f955eac83e60651bc7295493f5f6f4322ac7a326df747ca88b626ad7654265 bmd-tools-1.0.2.tar.gz
158bb596d25be53bfcc9a4c2e678b61304c522124f64812ed7c1168a6b39735f15579999acb2853ee710ba59593ad7a57c970d21dba467096a8d0505af6f4c66 bmd-streamer.initd
e3760e4b9148d9f8467db519ff8ee2a161be1556a56bef9383a3e34a20c5960fff835a68d3e4f4a31b771e861d95f6fc4537fcb53675ac5f89d76b6ad49f8cea bmd-streamer.confd"
|