diff options
Diffstat (limited to 'community/qtmpc/PKGBUILD')
-rw-r--r-- | community/qtmpc/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/qtmpc/PKGBUILD b/community/qtmpc/PKGBUILD new file mode 100644 index 000000000..4755f681e --- /dev/null +++ b/community/qtmpc/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 67768 2012-03-14 11:08:26Z giovanni $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Shaika-Dzari <shaikadzari at gmail dot com> + +pkgname=qtmpc +pkgver=0.6.1 +pkgrel=3 +pkgdesc="Qt4-based front-end for MPD" +arch=('i686' 'x86_64') +url="http://qtmpc.lowblog.nl/" +license=('GPL') +depends=('kdebase-runtime') +makedepends=('automoc4' 'cmake') +install=$pkgname.install +source=("http://files.lowblog.nl/$pkgname/QtMPC-$pkgver.tar.bz2" + 'qtmpc-0.6.1-underlinking.patch') +sha256sums=('82287a26788b36d49db26518b66203f332cf686eefb81ee2d9be095e61123a62' + '8295218ebeeb14372c36c34510a9eed7210e82d8e474ef3caae1bd58327780d3') + +build() { + cd ${srcdir}/QtMPC + + patch -Np1 -i "${srcdir}/qtmpc-0.6.1-underlinking.patch" + + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/QtMPC + + make DESTDIR=${pkgdir} install +} |