mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
34 lines
844 B
Bash
34 lines
844 B
Bash
|
#contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kdeedu-data
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=kdeedu-data
|
||
|
pkgver=${_kdever}
|
||
|
pkgrel=1
|
||
|
pkgdesc="Common data for KDE Edu applications"
|
||
|
url="http://kde.org/applications/education"
|
||
|
arch=('x86_64')
|
||
|
license=('GPL' 'LGPL' 'FDL')
|
||
|
makedepends=('extra-cmake-modules')
|
||
|
replaces=('kdeedu-libkdeedu')
|
||
|
provides=('kdeedu-libkdeedu')
|
||
|
conflicts=('kdeedu-libkdeedu')
|
||
|
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 ../$pkgname-${pkgver} \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "${srcdir}"/build
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|