desktop/ark/PKGBUILD

38 lines
837 B
Bash
Raw Normal View History

# Include global configuration
source ../kdeapps.conf
pkgname=ark
arch=('x86_64')
pkgver=${_kdever}
pkgrel=2
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 zip unzip unrar)
conflicts=(kdeutils-ark)
replaces=(kdeutils-ark)
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeutils')
conflicts=('kdeutils-ark')
replaces=('kdeutils-ark')
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
}