1 # Maintainer: Markus Unterwaditzer <markus@unterwaditzer.net>
2 pkgname=chrontel-wetab-rpm
5 pkgdesc="HDMI-drivers for the WeTab and similar devices, extracted from the source-rpm files provided by 4tiitoo"
6 url="http://update.tiitoo.com/source/packages/"
10 license=('custom:publicdomain')
11 makedepends=('rpmextract')
12 install='chrontel.install'
14 _rpmname="chrontel-${pkgver/_/-}.wetab.src.rpm" # according to the aur guidelines, it's not allowed to use a hyphen in a version number. So, replace it afterwards with a udnerscore
15 _rpmextractname="chrontel-1.0"
16 source=("Makefile" "http://update.tiitoo.com/source/packages/$_rpmname")
18 md5sums=('f30a85eab8eb05853f5a7abee11afa39' '20c65d65452e8f4bab2c26a4de63fa38')
22 rpmextract.sh $_rpmname
23 tar xvjf $_rpmextractname.tar.bz2
24 cp Makefile $_rpmextractname
30 cd $srcdir/$_rpmextractname
31 install -Dm755 tiitoo-hdmi-daemon $pkgdir/usr/bin/tiitoo-hdmi-daemon
32 install -Dm755 resources/fw7036.bin $pkgdir/lib/firmware/chrontel/fw7036.bin