summaryrefslogtreecommitdiff
path: root/libre-testing/kdeutils-ark-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing/kdeutils-ark-libre/PKGBUILD')
-rw-r--r--libre-testing/kdeutils-ark-libre/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/libre-testing/kdeutils-ark-libre/PKGBUILD b/libre-testing/kdeutils-ark-libre/PKGBUILD
new file mode 100644
index 000000000..a71990231
--- /dev/null
+++ b/libre-testing/kdeutils-ark-libre/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 165999 2012-09-03 21:52:22Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+_pkgname=kdeutils-ark
+pkgname=kdeutils-ark-libre
+pkgver=4.9.1
+pkgrel=1
+pkgdesc='Archiving Tool'
+url='http://kde.org/applications/utilities/ark/'
+arch=('i686' 'x86_64' 'mips64el')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeutils')
+depends=('kdebase-runtime' 'kdebase-lib' 'libarchive' 'qjson')
+makedepends=('cmake' 'automoc4')
+optdepends=('p7zip' 'zip' 'unzip' 'ununrar')
+install=${_pkgname}.install
+provides=("kdeutils-ark=$pkgver")
+replaces=('kdeutils-ark')
+conflicts=('kdeutils-ark')
+source=("http://download.kde.org/stable/${pkgver}/src/ark-${pkgver}.tar.xz")
+sha1sums=('2f7d32b9f99913d14801b56f0c858eda128a7b91')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../ark-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+ cd $srcdir/build/doc
+ make DESTDIR=$pkgdir install
+}