desktop/krename/PKGBUILD

39 lines
983 B
Bash

#
# Chakra 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=krename
pkgver=4.0.9
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')
categories=('utils')
install=${pkgname}.install
source=("http://sourceforge.net/projects/krename/files/KDE4%20krename-stable/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('21b2daeee6d81155bd3c0fa2bc1b9a63')
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
}