1 # Maintainer: mockfrog <arch AT mockfrog DOT de>
5 pkgdesc="Driver for sundtek media tv pro usb-stick"
7 url="http://www.sundtek.com"
9 install=sundtek.install
10 backup=(etc/sundtek.conf)
11 _filename="sundtek_installer_${pkgver}.sh"
12 source=(http://www.sundtek.de/media/${_filename} sundtek.install sundtek.conf sundtek_do.sh)
13 md5sums=('44116949c24b6af72bed80c04304359a'
14 'b1f34e4ca5445f6b2a2cd19866e49ce2'
15 'd146fc4fe871e56ccb709109f4c5751d'
16 '138fc5a0a443fd0c074287b2566e268d')
24 echo "extracting files stage 2 - for ${CARCH}"
25 tar xzvf "${srcdir}/32bit/installer.tar.gz"
28 echo "extracting files stage 2 - for ${CARCH}"
29 tar xzvf "${srcdir}/64bit/installer.tar.gz"
32 echo "architecture ${CARCH} not supported"
37 rm -rf etc/udev/rules.d/80-remote-eeti.rules*
38 rm -rf etc/udev/rules.d/80-mediasrv.rules
40 install -D ${startdir}/sundtek.conf etc/sundtek.conf
41 install -D ${startdir}/sundtek_do.sh opt/bin/sundtek_do.sh
43 mv etc/ld.so.conf.d/optlib.conf etc/ld.so.conf.d/empia.conf
46 chmod ogu=srx opt/bin/mediasrv