2015-08-11 05:26:57 +08:00
|
|
|
# Include global configuration
|
|
|
|
source ../kdeapps.conf
|
|
|
|
|
|
|
|
pkgname=ark
|
|
|
|
arch=('x86_64')
|
|
|
|
pkgver=${_kdever}
|
2016-05-13 04:57:22 +08:00
|
|
|
pkgrel=1
|
2015-08-11 05:26:57 +08:00
|
|
|
pkgdesc="Archiver for various compression formats"
|
|
|
|
url="http://www.kde.org"
|
2015-08-13 05:41:22 +08:00
|
|
|
license=(GPL)
|
2015-08-11 05:26:57 +08:00
|
|
|
options=('docs' 'debug')
|
2015-08-13 05:41:22 +08:00
|
|
|
depends=(kpty khtml libarchive hicolor-icon-theme)
|
|
|
|
makedepends=(extra-cmake-modules kdoctools python)
|
2016-03-30 02:29:36 +08:00
|
|
|
optdepends=("p7zip: 7Z format support"
|
|
|
|
"zip: ZIP format support"
|
|
|
|
"unzip: ZIP format support"
|
|
|
|
"unrar: RAR format support"
|
|
|
|
"lrzip: Lzop, lzip and lrz format support")
|
2015-08-13 05:41:22 +08:00
|
|
|
conflicts=(kdeutils-ark)
|
|
|
|
replaces=(kdeutils-ark)
|
2015-08-11 05:26:57 +08:00
|
|
|
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeutils')
|
|
|
|
install=kdeutils.install
|
|
|
|
|
2016-05-13 04:57:22 +08:00
|
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
|
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
2015-08-11 05:26:57 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
|
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR=${pkgdir} install
|
2015-11-11 06:58:55 +08:00
|
|
|
}
|