updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / komparator4 / PKGBUILD
blob6dfa0d9a889589971b4ab1c9786b4bf408ac3b6b
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Maintainer: Dany Martineau <dany.luc.martineau at gmail.com>
4 pkgname=komparator4
5 pkgver=0.5
6 pkgrel=1
7 pkgdesc='An application for KDE4 that searches and synchronizes two directories'
8 arch=('i686' 'x86_64')
9 url='http://kde-apps.org/content/show.php/komparator4?content=116039'
10 license=('GPL')
11 depends=('kdelibs')
12 makedepends=('cmake' 'automoc4')
13 install=${pkgname}.install
14 source=(http://kde-apps.org/CONTENT/content-files/116039-${pkgname}-${pkgver}.tar.bz2)
15 md5sums=('c12be3128e3ab4430b4a5b83f50c194d')
17 build(){
18   cd ${srcdir}/${pkgname}-${pkgver}
19   sed -i 's_dtd/kdex.dtd_/usr/share/apps/ksgmltools2/customization/dtd/kdex.dtd_' doc/index.docbook
20   cmake . \
21     -DCMAKE_BUILD_TYPE=Release \
22     -DCMAKE_SKIP_RPATH=ON \
23     -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
24     -DCMAKE_INSTALL_PREFIX=/usr
25   make
28 package() {
29         cd ${srcdir}/$pkgname-$pkgver
30         make DESTDIR=${pkgdir} install