# $Id: PKGBUILD 2904 2009-09-22 23:51:49Z ebelanger $ # Maintainer: Eric Belanger # Contributor: FUBAR pkgname=krename pkgver=4.0.0 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/sourceforge/krename/${pkgname}-${pkgver}.tar.bz2) md5sums=('f90424d6224f4855740c9e37514f0ccc') sha1sums=('8fee1aa5e235c78a621680eee007d39f2bafa5c5') build() { cd "${srcdir}/${pkgname}-${pkgver}" mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. || return 1 make DESTDIR="${pkgdir}" install || return 1 }