# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Andrea Scarpino # Contributor: Vinay S Shastry pkgname=qmpdclient pkgver=1.1.1 pkgrel=1 pkgdesc="A Qt4 client for MPD" arch=('i686' 'x86_64') url="http://bitcheese.net/wiki/QMPDClient" license=('GPL') depends=('qt' 'openssl') provides=('qmpdclient-ne') conflicts=('qmpdclient-ne') replace=('qmpdclient-ne') source=("$pkgname-$pkgver.tar.gz::http://github.com/Voker57/$pkgname-ne/tarball/$pkgver" "qmpdclient.desktop") md5sums=('5a1fc1dec169853f4e6ea195ee7d8700' 'c4490c2d0904103bf5c2f24d6455f602') build() { cd $srcdir/*$pkgname* # fix the path sed -ie "s%/usr/local%${pkgdir}/usr%g" qmpdclient.pro || return 1 qmake make || return 1 make install || return 1 # install icons and desktop file install -d $pkgdir/usr/share/pixmaps/ install -m644 icons/qmpdclient{16,22,64}.png \ $pkgdir/usr/share/pixmaps/ || return 1 install -m644 -D $srcdir/qmpdclient.desktop \ $pkgdir/usr/share/applications/qmpdclient.desktop || return 1 }