1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Maintainer: Dany Martineau <dany.luc.martineau at gmail.com>
7 pkgdesc='An application for KDE4 that searches and synchronizes two directories'
9 url='http://kde-apps.org/content/show.php/komparator4?content=116039'
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')
18 cd ${srcdir}/${pkgname}-${pkgver}
19 sed -i 's_dtd/kdex.dtd_/usr/share/apps/ksgmltools2/customization/dtd/kdex.dtd_' doc/index.docbook
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
29 cd ${srcdir}/$pkgname-$pkgver
30 make DESTDIR=${pkgdir} install