pmaports/kde/kpublictransport/APKBUILD
Oliver Smith 273797a767
Revert "*/*: disable armv7 for plasma programs"
The circular dependency has been resolved, and the binary packages have
been pushed to Alpine#s repsitory. This reverts commit
35015139f3.
[ci:skip-build] [ci:skip-vercheck]

Related: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/10757
2020-07-30 18:04:25 +02:00

32 lines
1.1 KiB
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kpublictransport
pkgver=0_git20200327
pkgrel=0
_commit="5c6f65553d87e84ae5ebbf1c6aecdb96cb68ac6d"
pkgdesc="Library to assist with accessing public transport timetables and other information"
arch="all !armhf"
url="https://github.com/kde/kpublictransport"
license="LGPL-2.0-or-later"
checkdepends="tzdata"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev zlib-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/kde/kpublictransport/archive/$_commit/kpublictransport-$_commit.tar.gz"
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make -C build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make -C build install
}
sha512sums="3b791bb04d12d000055a96384a61d7c61987aebf8e16be9e79b44ebd0b6339d337fea4afdb7f16c9773fb05fd91e7e3a2e4c278388393fb8ff6b43f6a769bf90 kpublictransport-5c6f65553d87e84ae5ebbf1c6aecdb96cb68ac6d.tar.gz"