Date: Thursday, November 19, 2015 @ 21:35:44 Author: arojas Revision: 251263
archrelease: copy kde-unstable to staging-any Added: kdeedu-data/repos/staging-any/ kdeedu-data/repos/staging-any/PKGBUILD (from rev 251262, kdeedu-data/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: kdeedu-data/repos/staging-any/PKGBUILD (from rev 251262, kdeedu-data/kde-unstable/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2015-11-19 20:35:44 UTC (rev 251263) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdeedu-data +pkgver=15.11.80 +pkgrel=1 +pkgdesc="Common data for KDE Edu applications" +url="http://kde.org/applications/education" +arch=('any') +license=('GPL' 'LGPL' 'FDL') +makedepends=('extra-cmake-modules') +conflicts=('libkdeedu<14') +source=("http://download.kde.org/unstable/applications/${pkgver}/src/$pkgname-${pkgver}.tar.xz") +sha1sums=('1e59b79651f6905e9c1db31fd6852dcd1cbbb2ce') + +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 +}