diff options
author | root <root@rshg054.dnsready.net> | 2012-08-08 00:02:17 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-08 00:02:17 +0000 |
commit | 6c114b503b2456476f22ff6bdb2b45cac8dac612 (patch) | |
tree | 663d91755132361628dec7a42b77734ecf7b36b7 /extra/kdemultimedia-kmix | |
parent | 9d36fcd5638035abf19f303deebd9e861d384254 (diff) |
Wed Aug 8 00:02:17 UTC 2012
Diffstat (limited to 'extra/kdemultimedia-kmix')
-rw-r--r-- | extra/kdemultimedia-kmix/PKGBUILD | 30 | ||||
-rw-r--r-- | extra/kdemultimedia-kmix/kdemultimedia-kmix.install | 11 |
2 files changed, 41 insertions, 0 deletions
diff --git a/extra/kdemultimedia-kmix/PKGBUILD b/extra/kdemultimedia-kmix/PKGBUILD new file mode 100644 index 000000000..1c97da26a --- /dev/null +++ b/extra/kdemultimedia-kmix/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 164917 2012-08-06 23:20: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/extra/kdemultimedia-kmix/kdemultimedia-kmix.install b/extra/kdemultimedia-kmix/kdemultimedia-kmix.install new file mode 100644 index 000000000..c0797237a --- /dev/null +++ b/extra/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 +} |