summaryrefslogtreecommitdiff
path: root/libre/kdeutils-ark-libre/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-01-30 17:34:17 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-01-30 17:34:17 +0100
commit1b3ff92ac870b9525a1e592ba25079e133761d9e (patch)
treee468fc7718606be33f50ece501417c226ec706f4 /libre/kdeutils-ark-libre/PKGBUILD
parentbdc793348b6e7b14eecfdea2943eba51fa249ac9 (diff)
downloadabslibre-1b3ff92ac870b9525a1e592ba25079e133761d9e.tar.gz
abslibre-1b3ff92ac870b9525a1e592ba25079e133761d9e.tar.bz2
abslibre-1b3ff92ac870b9525a1e592ba25079e133761d9e.zip
kdeutils-ark-libre 4.8.0-1
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
+}