summaryrefslogtreecommitdiff
path: root/community/kpartsplugin
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/kpartsplugin
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/kpartsplugin')
-rw-r--r--community/kpartsplugin/LICENSE28
-rw-r--r--community/kpartsplugin/PKGBUILD33
2 files changed, 61 insertions, 0 deletions
diff --git a/community/kpartsplugin/LICENSE b/community/kpartsplugin/LICENSE
new file mode 100644
index 000000000..8328ff550
--- /dev/null
+++ b/community/kpartsplugin/LICENSE
@@ -0,0 +1,28 @@
+Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+ * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
+ the names of its contributors may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file
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"
+}