mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
37 lines
811 B
Bash
37 lines
811 B
Bash
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgname=kfilereplace
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
arch=(x86_64)
|
|
pkgdesc="Search & Replace Tool"
|
|
url='http://www.kde.org'
|
|
license=(GPL LGPL FDL)
|
|
groups=(kde-applications kdewebdev)
|
|
depends=(kdebase-runtime libxslt)
|
|
makedepends=(cmake automoc4 docbook-xsl)
|
|
replaces=(kdewebdev-kfilereplace)
|
|
conflicts=(kdewebdev-kfilereplace)
|
|
options=(docs debug)
|
|
groups=(kde kde-uninstall kde-applications kdewebdev)
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
|
|
'SKIP')
|
|
validpgpkeys=(${Avalidpgpkeys[@]})
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|