diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-03-02 11:32:37 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-03 08:50:06 -0300 |
commit | 748827323eb61ef88f0d08ef300baddf9ac6189c (patch) | |
tree | c83bcd538ba7e4baa79232d09ecc0a820928c31e /community/kgeography | |
parent | dfaca0f2c7e73419d8ace733d93646adb74d0a50 (diff) | |
download | aports-748827323eb61ef88f0d08ef300baddf9ac6189c.tar.bz2 aports-748827323eb61ef88f0d08ef300baddf9ac6189c.tar.xz |
community/kgeography: move from testing
Diffstat (limited to 'community/kgeography')
-rw-r--r-- | community/kgeography/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/kgeography/APKBUILD b/community/kgeography/APKBUILD new file mode 100644 index 0000000000..248a0fa5d3 --- /dev/null +++ b/community/kgeography/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kgeography +pkgver=19.12.2 +pkgrel=1 +arch="all !armhf" +url="https://edu.kde.org/kgeography" +pkgdesc="Geography Trainer" +license="GPL-2.0-or-later" +makedepends="extra-cmake-modules qt5-qtbase-dev kxmlgui-dev kwidgetsaddons-dev kcoreaddons-dev kconfigwidgets-dev ki18n-dev kitemviews-dev kiconthemes-dev kcrash-dev kdoctools-dev" +source="https://download.kde.org/stable/release-service/$pkgver/src/kgeography-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" +options="!check" # No tests + +build() { + cmake -B "$builddir"/build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make -C build +} + +check() { + cd "$builddir"/build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make -C build install +} + +sha512sums="14bb57a581df72ad320bddad39d4c65282f850b48dcba6cac5fcbb6c6dcd142bde05ad90cb1d5074388b79a4cb9224052b1ea1f57a4a9eec5f39fe68a383ca08 kgeography-19.12.2.tar.xz" |