diff options
author | root <root@rshg054.dnsready.net> | 2012-08-03 00:01:47 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-03 00:01:47 +0000 |
commit | 92bafb5f0efc526b1f83cd5fb9460443c4b13dca (patch) | |
tree | a762a2b1551bff9d77cf7a44a75f915fb074c1a2 /testing/kdemultimedia-kmix | |
parent | f003ac1c96d76f4e3a2b93f988e1effce6771052 (diff) |
Fri Aug 3 00:01:47 UTC 2012
Diffstat (limited to 'testing/kdemultimedia-kmix')
-rw-r--r-- | testing/kdemultimedia-kmix/PKGBUILD | 30 | ||||
-rw-r--r-- | testing/kdemultimedia-kmix/kdemultimedia-kmix.install | 11 |
2 files changed, 41 insertions, 0 deletions
diff --git a/testing/kdemultimedia-kmix/PKGBUILD b/testing/kdemultimedia-kmix/PKGBUILD new file mode 100644 index 000000000..c8162262b --- /dev/null +++ b/testing/kdemultimedia-kmix/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 164599 2012-08-01 14:41:09Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdemultimedia-kmix +pkgver=4.9.0 +pkgrel=1 +pkgdesc="KDE volume control program" +url='http://kde.org/applications/multimedia/kmix/' +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +depends=('kdebase-runtime') +makedepends=('cmake' 'automoc4') +install="${pkgname}.install" +source=("http://download.kde.org/stable/${pkgver}/src/kmix-${pkgver}.tar.xz") +sha1sums=('b112295964112c4fb0afa2971926939328cbc569') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../kmix-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} diff --git a/testing/kdemultimedia-kmix/kdemultimedia-kmix.install b/testing/kdemultimedia-kmix/kdemultimedia-kmix.install new file mode 100644 index 000000000..c0797237a --- /dev/null +++ b/testing/kdemultimedia-kmix/kdemultimedia-kmix.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |