summaryrefslogtreecommitdiff
path: root/community/krename/PKGBUILD
blob: b7870078b9372e87ab6204417cad84ed87d9105d (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
31
# $Id: PKGBUILD 61563 2012-01-03 03:32:45Z ebelanger $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=krename
pkgver=4.0.9
pkgrel=1
pkgdesc="A very powerfull batch file renamer for KDE"
arch=('i686' 'x86_64' 'mips64el')
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() {
  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
}