From a45aa8f19ea32f45610dafabfc06c8b7d1ed5cfe Mon Sep 17 00:00:00 2001 From: root Date: Sun, 15 May 2011 22:39:31 +0000 Subject: Sun May 15 22:39:30 UTC 2011 --- community/qtmpc/PKGBUILD | 30 ++++++++++++++++++++++++++++++ community/qtmpc/qtmpc.changelog | 3 +++ community/qtmpc/qtmpc.install | 11 +++++++++++ 3 files changed, 44 insertions(+) create mode 100644 community/qtmpc/PKGBUILD create mode 100644 community/qtmpc/qtmpc.changelog create mode 100644 community/qtmpc/qtmpc.install (limited to 'community/qtmpc') diff --git a/community/qtmpc/PKGBUILD b/community/qtmpc/PKGBUILD new file mode 100644 index 000000000..95900ba1a --- /dev/null +++ b/community/qtmpc/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 47054 2011-05-14 19:45:44Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau +# Contributor: Shaika-Dzari + +pkgname=qtmpc +pkgver=0.6.1 +pkgrel=2 +pkgdesc="Qt4-based front-end for MPD" +arch=('i686' 'x86_64') +url="http://qtmpc.lowblog.nl/" +license=('GPL') +depends=('hicolor-icon-theme' 'kdebase-runtime' 'qt') +makedepends=('automoc4' 'cmake') +install=$pkgname.install +changelog=$pkgname.changelog +source=(http://files.lowblog.nl/$pkgname/QtMPC-$pkgver.tar.bz2) +sha256sums=('82287a26788b36d49db26518b66203f332cf686eefb81ee2d9be095e61123a62') + +build() { + cd ${srcdir}/QtMPC + + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/QtMPC + + make DESTDIR=${pkgdir} install +} diff --git a/community/qtmpc/qtmpc.changelog b/community/qtmpc/qtmpc.changelog new file mode 100644 index 000000000..f4271103c --- /dev/null +++ b/community/qtmpc/qtmpc.changelog @@ -0,0 +1,3 @@ +2011-05-14 Jaroslav Lichtblau + * qtmpc 0.6.1-2 + * moved to [community] with 109 votes diff --git a/community/qtmpc/qtmpc.install b/community/qtmpc/qtmpc.install new file mode 100644 index 000000000..1c0de2e4f --- /dev/null +++ b/community/qtmpc/qtmpc.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf