mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 08:37:19 +08:00
31 lines
787 B
Bash
31 lines
787 B
Bash
|
|
pkgname=krename
|
|
pkgver=4.0.9
|
|
pkgrel=4
|
|
pkgdesc="A very powerfull batch file renamer for KDE"
|
|
arch=('x86_64')
|
|
url="http://www.krename.net"
|
|
license=('GPL')
|
|
depends=('exiv2' '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 $pkgname-$pkgver
|
|
mkdir build
|
|
cd build
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-I/usr/include/freetype2"
|
|
sed -i 's|/share/locale|/share/locale/kde4|' po/cmake_install.cmake
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|