updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / rbutil-bin / PKGBUILD
blob7074b499b37ac3bb37457ae242151fff2733343d
1 # Maintainer: qs9rx < that nick at enjoys döt it>
2 # Contributor: Slash <demodevil5 [at] yahoo [dot] com>
3 # Contributor: Diego Gaustein <firstname@lastname.com.ar>
5 pkgname=rbutil-bin
6 pkgver=1.2.11
7 pkgrel=1
8 url="http://www.rockbox.org/twiki/bin/view/Main/RockboxUtility"
9 pkgdesc="A Qt application for easily managing your Rockbox installation. (Binary Version)"
10 arch=('i686' 'x86_64')
11 license=('GPL')
12 depends=('fontconfig' 'glib2' 'libpng12' 'libsm' 'libusb' 'libxi' 'qt' 'libxrandr')
13 provides=('rbutil')
14 conflicts=('rbutil' 'rbutil-svn')
15 makedepends=()
16 if [ "$CARCH" = "x86_64" ]; then
17     source=('rbutil-bin.desktop' "http://download.rockbox.org/rbutil/linux/RockboxUtility-v${pkgver}-64bit.tar.bz2")
18     md5sums=('d46e111615b7c90bf50cad9bfa3dd3b5'
19              '60d248308cf2f22b3f386ae0433d4814')
20 else
21     source=('rbutil-bin.desktop' "http://download.rockbox.org/rbutil/linux/RockboxUtility-v${pkgver}.tar.bz2")
22     md5sums=('d46e111615b7c90bf50cad9bfa3dd3b5'
23              '192776c3d8757ac9e9c4d37c94d956fa')
26 build() {
27     cd $srcdir;
29     # Install Binary File
30     install -Dm 755 $srcdir/RockboxUtility-v${pkgver}/RockboxUtility \
31         $pkgdir/usr/bin/RockboxUtility
33     # Install Desktop File
34     install -Dm 644 $srcdir/rbutil-bin.desktop \
35         $pkgdir/usr/share/applications/rbutil-bin.desktop