PKGBUILDs/community/krename/PKGBUILD
2009-10-09 21:15:33 -05:00

26 lines
794 B
Bash

# $Id: PKGBUILD 2904 2009-09-22 23:51:49Z ebelanger $
# Maintainer: Eric Belanger <eric@archlinux.org>
# 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
}