[arch-commits] Commit in (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Jul 28 18:23:52 UTC 2015
Date: Tuesday, July 28, 2015 @ 20:23:52
Author: arojas
Revision: 242599
Add KF5 version of ark
Added:
ark/
ark/kde-unstable/
ark/kde-unstable/PKGBUILD
ark/kde-unstable/ark.install
-------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
ark.install | 13 +++++++++++++
2 files changed, 53 insertions(+)
Added: ark/kde-unstable/PKGBUILD
===================================================================
--- ark/kde-unstable/PKGBUILD (rev 0)
+++ ark/kde-unstable/PKGBUILD 2015-07-28 18:23:52 UTC (rev 242599)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=ark
+pkgver=15.07.80
+pkgrel=1
+pkgdesc='Archiving Tool'
+arch=(i686 x86_64)
+url='http://kde.org/applications/utilities/ark/'
+license=(GPL)
+depends=(kpty khtml libarchive hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools python)
+optdepends=(p7zip zip unzip unrar)
+conflicts=(kdeutils-ark)
+replaces=(kdeutils-ark)
+groups=(kde-applications kdeutils)
+install=$pkgname.install
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+md5sums=('f16f8a354bcec5928bec1f57e2ce5339')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
+
Added: ark/kde-unstable/ark.install
===================================================================
--- ark/kde-unstable/ark.install (rev 0)
+++ ark/kde-unstable/ark.install 2015-07-28 18:23:52 UTC (rev 242599)
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
More information about the arch-commits
mailing list