diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-20 20:08:54 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-20 17:01:42 -0300 |
commit | 691e86ea2eeaf258268927c4f60a4a83623ae12e (patch) | |
tree | 9acf77d2230bfffe3b5d608c70c2163faa9d3e25 | |
parent | d34df3a1ef83567b13476cda82240c7e8b08e6e9 (diff) | |
download | aports-691e86ea2eeaf258268927c4f60a4a83623ae12e.tar.bz2 aports-691e86ea2eeaf258268927c4f60a4a83623ae12e.tar.xz |
testing/marble: new aport
-rw-r--r-- | testing/marble/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/marble/APKBUILD b/testing/marble/APKBUILD new file mode 100644 index 0000000000..0932331bf7 --- /dev/null +++ b/testing/marble/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=marble +pkgver=19.04.2 +pkgrel=0 +pkgdesc="A Virtual Globe and World Atlas that you can use to learn more about Earth" +arch="all" +url='https://marble.kde.org' +license="LGPL-2.1-or-later AND GPL-3.0-or-later" +depends_dev="qt5-qtbase-dev qt5-qtsvg-dev qt5-qtdeclarative-dev qt5-qtwebengine-dev qt5-qttools-dev qt5-qtserialport-dev qt5-qtlocation-dev kdoctools-dev phonon-dev gpsd-dev kcrash-dev kcoreaddons-dev kwallet-dev knewstuff-dev kparts-dev plasma-framework-dev krunner-dev ki18n-dev kio-dev shared-mime-info" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +options="!check" # Requires itself to be installed + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_SYSCONFDIR=/etc \ + -DMOBILE=ON \ + -DBUILD_MARBLE_APPS=YES + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="7673c8f361001bd3f1dc32ea6fce62a399ad5d2ae454e562758eb5fc154a3fc46c7743cff5bbc72f77fb13adcbd1766f1a61777a4514702324193cfda88d988e marble-19.04.2.tar.xz" |