diff options
Diffstat (limited to 'community/qmpdclient')
-rw-r--r-- | community/qmpdclient/PKGBUILD | 34 | ||||
-rw-r--r-- | community/qmpdclient/qmpdclient.changelog | 5 | ||||
-rw-r--r-- | community/qmpdclient/qmpdclient.install | 11 |
3 files changed, 50 insertions, 0 deletions
diff --git a/community/qmpdclient/PKGBUILD b/community/qmpdclient/PKGBUILD new file mode 100644 index 000000000..4c432cf87 --- /dev/null +++ b/community/qmpdclient/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 40012 2011-02-19 13:47:31Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Vinay S Shastry <vinayshastry@gmail.com> + +pkgname=qmpdclient +pkgver=1.2.1 +pkgrel=1 +pkgdesc="A Qt4 client for MPD" +arch=('i686' 'x86_64') +url="http://bitcheese.net/wiki/QMPDClient" +license=('GPL') +depends=('qt' 'openssl' 'hicolor-icon-theme') +makedepends=('cmake') +install=$pkgname.install +changelog=$pkgname.changelog +source=(http://dump.bitcheese.net/files/$pkgname-$pkgver.tar.bz2) +sha256sums=('9d57ffbf2985c1dbc9e8856e9c5edf5171e85152d8cf58ad692e85233a9b0773') + +build() { + cd ${srcdir} + + mkdir build + cd build + + cmake ../${pkgname} -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/build + + make DESTDIR=${pkgdir} install +} diff --git a/community/qmpdclient/qmpdclient.changelog b/community/qmpdclient/qmpdclient.changelog new file mode 100644 index 000000000..2dc991d38 --- /dev/null +++ b/community/qmpdclient/qmpdclient.changelog @@ -0,0 +1,5 @@ +2011-02-19 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * qmpdclient 1.2.1-1 + +2011-02-01 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * qmpdclient 1.2-1 diff --git a/community/qmpdclient/qmpdclient.install b/community/qmpdclient/qmpdclient.install new file mode 100644 index 000000000..d44837133 --- /dev/null +++ b/community/qmpdclient/qmpdclient.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |