aboutsummaryrefslogtreecommitdiffstats
path: root/main/bmd-tools/APKBUILD
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-07-07 17:11:05 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-10 09:39:43 +0000
commitc5e5b517b1a0d7af7670af055b9645594a2b36b4 (patch)
tree462a54cc8ae1a6642996060e50d74994138fef59 /main/bmd-tools/APKBUILD
parent648c4ef75cf8231e1da585de7e1185afdb05a135 (diff)
downloadaports-c5e5b517b1a0d7af7670af055b9645594a2b36b4.tar.bz2
aports-c5e5b517b1a0d7af7670af055b9645594a2b36b4.tar.xz
main/bmd-tools: upgrade to 1.0
Diffstat (limited to 'main/bmd-tools/APKBUILD')
-rw-r--r--main/bmd-tools/APKBUILD42
1 files changed, 12 insertions, 30 deletions
diff --git a/main/bmd-tools/APKBUILD b/main/bmd-tools/APKBUILD
index 987cc0e452..bac6d69989 100644
--- a/main/bmd-tools/APKBUILD
+++ b/main/bmd-tools/APKBUILD
@@ -1,7 +1,6 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=bmd-tools
-pkgver=0.20160622
-_commitid=9d473ee378defd3e0dc3f350c7e2f2a153e35b1c
+pkgver=1.0
pkgrel=0
pkgdesc="Tools for Blackmagic USB video encoders"
url="https://github.com/fabled/bmd-tools"
@@ -11,49 +10,32 @@ depends=""
makedepends="libusb-dev"
install=""
subpackages=""
-source="bmd-tools-$pkgver.tar.gz::https://github.com/fabled/bmd-tools/archive/$_commitid.tar.gz
-
+source="bmd-tools-$pkgver.tar.gz::https://github.com/fabled/bmd-tools/archive/v$pkgver.tar.gz
bmd-streamer.initd
bmd-streamer.confd
"
-_srcdir="$srcdir"/$pkgname-$_commitid
-
-prepare() {
- local i
- cd "$_srcdir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_srcdir"
+ cd "$builddir"
make
}
package() {
- cd "$_srcdir"
+ cd "$builddir"
- mkdir -p "$pkgdir"/usr/bin || return 1
+ mkdir -p "$pkgdir"/usr/bin
install -s -m755 bmd-streamer bmd-extractfw \
- "$pkgdir"/usr/bin || return 1
+ "$pkgdir"/usr/bin
- install -m755 -D "$srcdir"/bmd-streamer.initd \
- "$pkgdir"/etc/init.d/bmd-streamer || return 1
- install -m755 -D "$srcdir"/bmd-streamer.confd \
- "$pkgdir"/etc/conf.d/bmd-streamer || return 1
+ 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
}
-md5sums="c50ceaa3c579bf349a9cd1ff5c061a90 bmd-tools-0.20160622.tar.gz
-0e3d2cc8a71e3afad685a101e0a5a1f2 bmd-streamer.initd
-c2e6e9081f9938a10279f28cc1a21aae bmd-streamer.confd"
-sha256sums="1eaa4e4ed9bdb5798f8a29eafdb0fa6079a4effcde69afc62726d39d268f6140 bmd-tools-0.20160622.tar.gz
-456408203274292c742333687d3d32aa0219378b436d2c21412a7528175e3df3 bmd-streamer.initd
-64d5d9a2698c059eb72ac9c37fc84f971cbbb937f298f05807509bb51a51d991 bmd-streamer.confd"
-sha512sums="90ae6a1244b96b361054f6d7ad0fd8c5c2918fdfa223fe72fa5770fd1fc476c81381163f4a979276a9febe0a57080c8042de81898c3e8da340446b94c5059235 bmd-tools-0.20160622.tar.gz
+sha512sums="c5335905e8864b63f45793c4d12b6b6f27f608d7dd39d36514951c2cc16a16211b10a8683566d204c2e7bbb8a561bd3b6879e77c8cc128fe2b344cbe0ea8cb46 bmd-tools-1.0.tar.gz
158bb596d25be53bfcc9a4c2e678b61304c522124f64812ed7c1168a6b39735f15579999acb2853ee710ba59593ad7a57c970d21dba467096a8d0505af6f4c66 bmd-streamer.initd
e3760e4b9148d9f8467db519ff8ee2a161be1556a56bef9383a3e34a20c5960fff835a68d3e4f4a31b771e861d95f6fc4537fcb53675ac5f89d76b6ad49f8cea bmd-streamer.confd"