diff options
Diffstat (limited to 'community/krename/PKGBUILD')
-rw-r--r-- | community/krename/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/krename/PKGBUILD b/community/krename/PKGBUILD new file mode 100644 index 000000000..f3a23e350 --- /dev/null +++ b/community/krename/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 74836 2012-08-06 23:09:01Z andrea $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> + +pkgname=krename +pkgver=4.0.9 +pkgrel=2 +pkgdesc="A very powerfull batch file renamer for KDE" +arch=('i686' 'x86_64') +url="http://www.krename.net" +license=('GPL') +depends=('kdebase-runtime' 'taglib') +makedepends=('cmake' 'automoc4') +options=('libtool') +install=krename.install +source=(http://downloads.sourceforge.net/project/krename/KDE4%20krename-stable/${pkgver}/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('03886a385a16de4c9bc285d25b9816ea97768c9e') + +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 +} |