desktop/ark/PKGBUILD
2016-05-12 21:57:22 +01:00

41 lines
963 B
Bash

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