desktop/kdf/PKGBUILD

36 lines
720 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname=kdf
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc="KDE diskfree tool"
url="http://www.kde.org"
license=(GPL LGPL FDL)
depends=(kio hicolor-icon-theme)
makedepends=(extra-cmake-modules kdoctools python kcmutils)
conflicts=(kdeutils-kdf)
replaces=(kdeutils-kdf)
options=('debug')
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
}