1 # Maintainer: birdflesh <antkoul at gmail dot com>
2 # Contributor: Frikilinux <frikilinux at frikilinux.com.ar>
6 pkgdesc="This plugin uses KDE's KParts to embed file viewers into non-KDE browsers"
8 url="http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/"
11 makedepends=('automoc4' 'cmake')
12 source=("${url}${pkgname}-${pkgver}.tar.bz2" "LICENSE")
13 md5sums=('d134198ff2f05ba414719920030ea71b'
14 'c4cc811349e40e9f34e77e27b902ad96')
17 sed -i 's/nsbrowser/mozilla/g' ${pkgname}-${pkgver}/CMakeLists.txt
21 cmake ../${pkgname}-${pkgver} \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr
29 make DESTDIR=${pkgdir} install
30 install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"