summaryrefslogtreecommitdiff
path: root/community/krename/PKGBUILD
blob: 02b9d0f3f72b0c75925460cdf1bce354bdcc6232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 104797 2014-01-26 12:17:35Z andyrtr $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=krename
pkgver=4.0.9
pkgrel=3
pkgdesc="A very powerful batch file renamer for KDE"
arch=('i686' 'x86_64')
url="http://www.krename.net"
license=('GPL')
depends=('kdebase-runtime' 'taglib')
makedepends=('cmake' 'automoc4')
options=('libtool')
install=krename.install
source=(http://downloads.sourceforge.net/project/krename/KDE4%20krename-stable/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('03886a385a16de4c9bc285d25b9816ea97768c9e')

build() {
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-I/usr/include/freetype2"
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}