summaryrefslogtreecommitdiff
path: root/libre/kdeutils-ark-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/kdeutils-ark-libre/PKGBUILD')
-rw-r--r--libre/kdeutils-ark-libre/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/libre/kdeutils-ark-libre/PKGBUILD b/libre/kdeutils-ark-libre/PKGBUILD
new file mode 100644
index 000000000..737c0cb55
--- /dev/null
+++ b/libre/kdeutils-ark-libre/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 147905 2012-01-28 10:36:46Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+_pkgname=kdeutils-ark
+pkgname=kdeutils-ark-libre
+pkgver=4.8.0
+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')
+provides=("kdeutils-ark=$pkgver")
+replaces=('kdeutils-ark')
+conflicts=('kdeutils-ark')
+install=${_pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/ark-${pkgver}.tar.bz2")
+sha1sums=('99756e0896938371d6d7036fb3d5d0d152de29c3')
+
+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
+}