updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / decklink-sdk / PKGBUILD
blobe9f5049265d941dfccb27c2d29a1147800a6e121
1 # Maintainer: Antoine Lubineau <antoine@lubignon.info>
3 pkgname=decklink-sdk
4 pkgver=9.0
5 _dlid=2432866
6 pkgrel=1
7 pkgdesc="Blackmagic Design DeckLink SDK"
8 arch=('i686' 'x86_64')
9 url="http://www.blackmagic-design.com/support/sdks/"
10 license=('custom')
11 depends=('decklink' 'gcc-libs' 'mesa' 'qt')
12 makedepends=('unzip')
13 options=('!strip')
14 source=("http://www.blackmagic-design.com/media/${_dlid}/DeckLink_SDK_$pkgver.zip")
15 noextract=("DeckLink_SDK_$pkgver.zip")
16 sha256sums=('5b9bbc1e781235f5a071b014d2875ef3a2c94d410eb95f3983d90c9b397766b7')
18 package() {
19   cd "$srcdir"
20   unzip -o "DeckLink_SDK_$pkgver.zip"
22   mkdir -p "$pkgdir/usr/src" "$pkgdir/usr/bin"
23   cp -a "$srcdir/Blackmagic DeckLink SDK $pkgver/Linux/include" "$pkgdir/usr/src/decklink-sdk"
24   [ "$CARCH" = "i686" ] && _arch='i386'
25   [ "$CARCH" = "x86_64" ] && _arch='x86_64'
26   cd "$srcdir/Blackmagic DeckLink SDK $pkgver/Linux/Samples/bin/${_arch}"
27   for util in Capture DeviceList OpenGLOutput SignalGenerator TestPattern
28   do
29     install -D $util "$pkgdir/usr/bin/$util"
30   done
33 # vim:set ts=2 sw=2 et: