adding kaudiocreator

This commit is contained in:
Neo 2011-06-07 13:46:29 +00:00
parent e3bacd446f
commit 33ecf980b6
2 changed files with 47 additions and 0 deletions

36
kaudiocreator/PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
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-common' '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
}

View File

@ -0,0 +1,11 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}