updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / qthid / PKGBUILD
blobe3215fdd5d0108f5f65789c7ee8bdf071db48d9d
1 # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
3 pkgname=qthid
4 pkgver=3.0
5 pkgrel=1
6 pkgdesc="Qthid is a control application for the Funcube Dongle software defined radio receiver."
7 arch=('i686' 'x86_64')
8 url="https://github.com/csete/qthid"
9 license=('GPL')
10 depends=('qt>=4.6')
11 makedepends=('intltool')
12 options=('!emptydirs')
13 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz 20-fcd.rules qthid.desktop)
15 build() {
16         cd $srcdir/$pkgname-$pkgver
18         qmake
19         make
22 package() {
23         install -m755 -d $pkgdir/etc/udev/rules.d
24         install -m755 -d $pkgdir/usr/{bin,share/applications,share/pixmaps}
26         cd $srcdir
27         
28         install -D -m644 20-fcd.rules $pkgdir/etc/udev/rules.d
29         install -D -m644 $pkgname.desktop $pkgdir/usr/share/applications
31         cd $pkgname-$pkgver
33         install -D -m755 $pkgname $pkgdir/usr/bin
34         install -D -m644 images/$pkgname.png $pkgdir/usr/share/pixmaps
37 md5sums=('b93966f7f05d896e271a39aae5cd4fc0'
38          '792afd0d39d62d5c9522ef582d0632a2'
39          '218795809d9cefbc3896af5d5f322d89')
40 sha256sums=('48265ad9e7798f0da93b74595472df6de9901b3be9a94d7b7c1aa93412914a7a'
41             'ea52359f5b898fe43a306832124c09888e2d02b1d6f4f256a6b93f9fad7667f7'
42             'd825a3bbfd6fb1bf6a36b135c73b464072042184f1a446cf21a3b168e1186fd0')