mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 12:57:15 +08:00
35 lines
702 B
Bash
35 lines
702 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)
|
||
|
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
|
||
|
}
|