summaryrefslogtreecommitdiff
path: root/libre/kdeutils-ark/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-03 06:57:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-03 06:57:55 -0300
commit588fad3f4ac69a1234341ffd3c2b3cd2b1d020c2 (patch)
treed43ec3a35b5631bfb65a8d381f34b23270e6907a /libre/kdeutils-ark/PKGBUILD
parent4ae5aae85842d364d28b0ae2ac0ad40bec3a778a (diff)
downloadabslibre-588fad3f4ac69a1234341ffd3c2b3cd2b1d020c2.tar.gz
abslibre-588fad3f4ac69a1234341ffd3c2b3cd2b1d020c2.tar.bz2
abslibre-588fad3f4ac69a1234341ffd3c2b3cd2b1d020c2.zip
kde packages: remove libre and nonprism suffixes, add complex pkgrel
Diffstat (limited to 'libre/kdeutils-ark/PKGBUILD')
-rw-r--r--libre/kdeutils-ark/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/libre/kdeutils-ark/PKGBUILD b/libre/kdeutils-ark/PKGBUILD
new file mode 100644
index 000000000..4810ac95c
--- /dev/null
+++ b/libre/kdeutils-ark/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 217366 2014-07-18 11:50:35Z svenstaro $
+# Maintainer (Arch): Andrea Scarpino <andrea@archlinux.org>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=kdeutils-ark
+pkgver=4.14.0
+pkgrel=1.parabola1
+pkgdesc='Archiving Tool, with unar support'
+url='http://kde.org/applications/utilities/ark/'
+arch=('i686' 'x86_64' 'mips64el')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeutils')
+replaces=('kdeutils-ark-libre')
+conflicts=('kdeutils-ark-libre')
+depends=('kdebase-runtime' 'kdebase-lib' 'libarchive' 'qjson')
+makedepends=('cmake' 'automoc4')
+optdepends=('p7zip' 'zip' 'unzip' 'unar')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/ark-${pkgver}.tar.xz"
+ 'ark-unar-06.patch')
+sha1sums=('fc5d388ccedddfa1e68254b4de00186e93930669'
+ 'a0a836950f185d9b2245204579f969203036fdec')
+
+prepare() {
+ cd "${srcdir}/ark-${pkgver}"
+ # This patch will allow Ark to use The Unarchiver command line utilities (unar/lsar) to operate on RAR files, particularly RARv3.
+ patch -Np1 -i "${srcdir}/ark-unar-06.patch"
+}
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../ark-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+}