updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rbutil / PKGBUILD
blob4ccf3b353ccbf3816aaa9340538b57eb914596e5
1  
2 pkgname=rbutil
3 pkgver=1.2.11
4 pkgrel=1
5 pkgdesc="Qt Rockbox Utility (compiled from sources with last qt)"
6 arch=('i686' 'x86_64')
7 url="http://www.rockbox.org/twiki/bin/view/Main/RockboxUtility"
8 license=("GPL")
9 depends=('qt>=4.3.0' 'libusb')
10 provides=('rbutilqt' 'rbutil')
11 conflicts=('rbutil-bin' 'rbutil-svn')
12 source=(http://download.rockbox.org/${pkgname}/source/${pkgname}_${pkgver}-src.tar.bz2 $pkgname.desktop)
13 md5sums=('517fc80e4c3e45c9a38aa7ffb5b454a6'
14          'c10d3c5bac897097f63770578ae322c2')
16 build() {
17         cd $srcdir/${pkgname}_${pkgver}/$pkgname/rbutilqt
18         lrelease rbutilqt.pro
19         qmake || return 1
20         make || return 1
21         install -D -m644 $srcdir/${pkgname}_${pkgver}/$pkgname/rbutilqt/icons/rockbox-64.png $pkgdir/usr/share/pixmaps/$pkgname.png
22         install -D -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
23         install -D -m755 RockboxUtility $pkgdir/usr/bin/$pkgname || return 1
24