Date: Wednesday, July 29, 2015 @ 09:18:04 Author: arojas Revision: 242643
archrelease: copy kde-unstable to kde-unstable-any Added: kdeedu-data/repos/kde-unstable-any/ kdeedu-data/repos/kde-unstable-any/PKGBUILD (from rev 242642, kdeedu-data/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: kdeedu-data/repos/kde-unstable-any/PKGBUILD (from rev 242642, kdeedu-data/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-any/PKGBUILD (rev 0) +++ kde-unstable-any/PKGBUILD 2015-07-29 07:18:04 UTC (rev 242643) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdeedu-data +pkgver=15.07.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=('6fbb7e4799cab229b207fadf63908e08f37d0bbd') + +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 +}