summaryrefslogtreecommitdiff
path: root/extra/kdeutils-ark/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdeutils-ark/PKGBUILD')
-rw-r--r--extra/kdeutils-ark/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/kdeutils-ark/PKGBUILD b/extra/kdeutils-ark/PKGBUILD
new file mode 100644
index 000000000..752755377
--- /dev/null
+++ b/extra/kdeutils-ark/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 172878 2012-12-06 08:23:12Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdeutils-ark
+pkgver=4.9.4
+pkgrel=1
+pkgdesc='Archiving Tool'
+url='http://kde.org/applications/utilities/ark/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeutils')
+depends=('kdebase-runtime' 'kdebase-lib' 'libarchive' 'qjson')
+makedepends=('cmake' 'automoc4')
+optdepends=('p7zip' 'zip' 'unzip' 'unrar')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/ark-${pkgver}.tar.xz")
+sha1sums=('074aece141ec229b5d72b39e4d31af4e5b4550cb')
+
+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
+}