diff options
Diffstat (limited to 'community/krename/PKGBUILD')
-rw-r--r-- | community/krename/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/krename/PKGBUILD b/community/krename/PKGBUILD new file mode 100644 index 000000000..0c2f94c88 --- /dev/null +++ b/community/krename/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 40347 2011-02-23 07:59:53Z ebelanger $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> + +pkgname=krename +pkgver=4.0.7 +pkgrel=1 +pkgdesc="A very powerfull batch file renamer for KDE" +arch=('i686' 'x86_64') +url="http://www.krename.net" +license=('GPL') +depends=('kdelibs' 'taglib' 'xdg-utils') +makedepends=('cmake' 'automoc4') +options=('libtool') +install=krename.install +source=(http://downloads.sourceforge.net/project/krename/KDE4%20krename-stable/${pkgver}/${pkgname}-${pkgver}.tar.bz) +md5sums=('afcf877b55395b35cd58a254163fb75e') +sha1sums=('c53d1819247a88bc4f49d52936f1e2bc7fa9850d') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} |