desktop/krename/PKGBUILD

31 lines
787 B
Bash
Raw Normal View History

2010-08-05 00:02:08 +08:00
pkgname=krename
2012-01-02 05:19:01 +08:00
pkgver=4.0.9
2016-05-05 05:08:12 +08:00
pkgrel=4
2010-08-05 00:02:08 +08:00
pkgdesc="A very powerfull batch file renamer for KDE"
2014-10-10 20:31:55 +08:00
arch=('x86_64')
2010-08-05 00:02:08 +08:00
url="http://www.krename.net"
license=('GPL')
2016-05-05 05:08:12 +08:00
depends=('exiv2' 'kdelibs' 'taglib' 'xdg-utils')
2010-08-05 00:02:08 +08:00
makedepends=('cmake' 'automoc4')
options=('libtool')
categories=('utils')
2016-05-03 21:57:37 +08:00
install=$pkgname.install
source=("http://sourceforge.net/projects/krename/files/KDE4%20krename-stable/$pkgver/$pkgname-$pkgver.tar.bz2")
2012-01-02 05:19:01 +08:00
md5sums=('21b2daeee6d81155bd3c0fa2bc1b9a63')
2010-08-05 00:02:08 +08:00
build() {
2016-05-03 21:57:37 +08:00
cd $pkgname-$pkgver
2010-08-05 00:02:08 +08:00
mkdir build
cd build
2016-05-03 21:57:37 +08:00
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
2014-10-10 20:31:55 +08:00
-DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-I/usr/include/freetype2"
sed -i 's|/share/locale|/share/locale/kde4|' po/cmake_install.cmake
2010-08-05 00:02:08 +08:00
make
}
package() {
2016-05-03 21:57:37 +08:00
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
2010-08-05 00:02:08 +08:00
}