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