Date: Sunday, August 21, 2016 @ 02:45:36 Author: felixonmars Revision: 274265
archrelease: copy trunk to testing-i686, testing-x86_64 Added: kgeography/repos/testing-i686/ kgeography/repos/testing-i686/PKGBUILD (from rev 274264, kgeography/trunk/PKGBUILD) kgeography/repos/testing-x86_64/ kgeography/repos/testing-x86_64/PKGBUILD (from rev 274264, kgeography/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) Copied: kgeography/repos/testing-i686/PKGBUILD (from rev 274264, kgeography/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-08-21 02:45:36 UTC (rev 274265) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kgeography +pkgver=16.08.0 +pkgrel=1 +pkgdesc="Geography Trainer" +url="http://kde.org/applications/education/kgeography/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde-applications' 'kdeedu') +depends=('kxmlgui' 'hicolor-icon-theme') +makedepends=('extra-cmake-modules' 'python' 'kdoctools') +replaces=('kdeedu-kgeography') +conflicts=('kdeedu-kgeography') +source=("http://download.kde.org/stable/applications/${pkgver}/src/kgeography-${pkgver}.tar.xz") +sha1sums=('876dd52fdc3c9dc5ce9154be28bfadc270bb58d3') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} Copied: kgeography/repos/testing-x86_64/PKGBUILD (from rev 274264, kgeography/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-08-21 02:45:36 UTC (rev 274265) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kgeography +pkgver=16.08.0 +pkgrel=1 +pkgdesc="Geography Trainer" +url="http://kde.org/applications/education/kgeography/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde-applications' 'kdeedu') +depends=('kxmlgui' 'hicolor-icon-theme') +makedepends=('extra-cmake-modules' 'python' 'kdoctools') +replaces=('kdeedu-kgeography') +conflicts=('kdeedu-kgeography') +source=("http://download.kde.org/stable/applications/${pkgver}/src/kgeography-${pkgver}.tar.xz") +sha1sums=('876dd52fdc3c9dc5ce9154be28bfadc270bb58d3') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +}