diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/kpartsplugin/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/kpartsplugin/PKGBUILD')
-rw-r--r-- | community/kpartsplugin/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/kpartsplugin/PKGBUILD b/community/kpartsplugin/PKGBUILD new file mode 100644 index 000000000..8e9d6f0aa --- /dev/null +++ b/community/kpartsplugin/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 74287 2012-07-23 14:13:38Z tredaelli $ +# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> +# Contributor: birdflesh <antkoul at gmail dot com> +# Contributor: Frikilinux <frikilinux at frikilinux.com.ar> +pkgname=kpartsplugin +pkgver=20120723 +pkgrel=1 +pkgdesc="This plugin uses KDE's KParts to embed file viewers into non-KDE browsers" +arch=('i686' 'x86_64') +url="http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/" +license=('GPL3' 'BSD') +depends=('kdelibs') +makedepends=('automoc4' 'cmake') +source=("${url}${pkgname}-${pkgver}.tar.bz2" "LICENSE") +md5sums=('cf94ee866a934da97a04cd1619e16099' + 'c4cc811349e40e9f34e77e27b902ad96') + +build(){ + sed -i 's/nsbrowser/mozilla/g' ${pkgname}-${pkgver}/CMakeLists.txt + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}/" install + install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE" +} |