updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / chrontel-wetab-rpm / PKGBUILD
blobd1068d8b1d9d3d0b4d97d65b9a2bcf46d96e57fe
1 # Maintainer: Markus Unterwaditzer <markus@unterwaditzer.net>
2 pkgname=chrontel-wetab-rpm
3 pkgver=1.0_11203.1.4.2
4 pkgrel=1
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/"
8 depends=('qt')
9 arch=('x86_64' 'i686')
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")
17 noextract=($_rpmname)
18 md5sums=('f30a85eab8eb05853f5a7abee11afa39' '20c65d65452e8f4bab2c26a4de63fa38')
20 build() {
21   cd $srcdir
22   rpmextract.sh $_rpmname
23   tar xvjf $_rpmextractname.tar.bz2
24   cp Makefile $_rpmextractname
25   cd $_rpmextractname
26   make
29 package() {
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