diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/kaudiocreator |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/kaudiocreator')
-rw-r--r-- | community/kaudiocreator/PKGBUILD | 31 | ||||
-rw-r--r-- | community/kaudiocreator/kaudiocreator.install | 11 |
2 files changed, 42 insertions, 0 deletions
diff --git a/community/kaudiocreator/PKGBUILD b/community/kaudiocreator/PKGBUILD new file mode 100644 index 000000000..7ec7e79ce --- /dev/null +++ b/community/kaudiocreator/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 24995 2010-08-30 09:56:37Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Nick B <Shirakawasuna at gmail _dot_com> + +pkgname=kaudiocreator +pkgver=1.2.90 +pkgrel=1 +pkgdesc="A program for ripping and encoding Audio-CDs, encoding files from disk" +arch=('i686' 'x86_64') +url="http://www.kde-apps.org/content/show.php/KAudioCreator?content=107645" +license=('GPL') +depends=('kdemultimedia-kioslave' 'taglib' 'libdiscid') +makedepends=('cmake' 'automoc4') +install="${pkgname}.install" +source=("http://www.kde-apps.org/CONTENT/content-files/107645-${pkgname}-${pkgver}.tar.bz2") +md5sums=('3d86f19700ace837093a134876314862') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install +} diff --git a/community/kaudiocreator/kaudiocreator.install b/community/kaudiocreator/kaudiocreator.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/community/kaudiocreator/kaudiocreator.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |