desktop/kdeedu-data/PKGBUILD

34 lines
844 B
Bash
Raw Normal View History

2015-02-23 23:08:49 +08:00
#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
}