1 # Maintainer: Vojtech Kral <kral.vojtech at gmail dot com>
2 # Contributor: Dawid Wrobel <dawid at klej dot net>
7 pkgdesc="AMD ATI Stream SDK, old version, provided for convenience"
9 url="http://ati.amd.com/technology/streamcomputing/sdkdwnld.html"
10 depends=("catalyst>=9.3")
11 makedepends=(rpmextract)
12 source=("http://download-developer.amd.com/GPU/executables/atistream-$pkgver-lnx32.tar.gzip")
14 md5sums=('a6b2b04d62c925d5d7545210d3108440')
17 [ "$CARCH" = "x86_64" ] && source=("http://download-developer.amd.com/GPU/executables/atistream-$pkgver-lnx64.tar.gzip")
18 [ "$CARCH" = "x86_64" ] && md5sums=('3c9e053d964b438f2a6b29eaf483c6c0')
19 [ "$CARCH" = "x86_64" ] && _arch=("x86_64")
24 #deal with atistream-brook
25 dd if=atistream-brook-$pkgver.${_arch}.run of=atistreambrook.tar.gz bs=16384 skip=1 &> /dev/null || return 1
26 tar -xzf atistreambrook.tar.gz &> /dev/null || return 1
27 rpmextract.sh atistream-brook-$pkgver-1.${_arch}.rpm &> /dev/null|| return 1
29 #deal with atistram-cal
30 dd if=atistream-cal-$pkgver.${_arch}.run of=atistreamcal.tar.gz bs=16384 skip=1 &> /dev/null
31 tar -xzf atistreamcal.tar.gz &> /dev/null || return 1
32 rpmextract.sh atistream-cal-$pkgver-1.${_arch}.rpm &> /dev/null || return 1
35 install -m644 -D EndUserLicense.txt $startdir/pkg/usr/share/licenses/amdstream/license.txt
36 cp -R $startdir/src/usr $startdir/pkg/