2026-05-15 16:51:44 +00:00

42 lines
1.1 KiB
Plaintext

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=asteroid
maintainer="Bart Ribbers <bribbers@disroot.org>"
pkgname=asteroid-map
pkgver=2.1_git20260515
pkgrel=0
_commit="3503839677ff41e311010b2b5e25eafda533110c"
pkgdesc="A map app for AsteroidOS written in QML"
url="https://github.com/AsteroidOS/asteroid-map"
# armhf blocked by qt6-qtdeclarative
arch="all !armhf"
license="GPL-3.0-or-later"
depends="
mapplauncherd-qt
nemo-qml-plugin-configuration
"
makedepends="
extra-cmake-modules
qml-asteroid-dev
qt6-qtbase-dev
qt6-qtdeclarative-dev
samurai
"
source="$pkgname-$_commit.tar.gz::https://github.com/AsteroidOS/asteroid-map/archive/$_commit.tar.gz"
options="!check" # no tests
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
c35907a395524850d66b5b47c04cd1de8f5e3af0f2100ebc066cbeb08e7c36ad253cf463017522437d254631de1e27c00f47daebfd7924502236c113ab4690c3 asteroid-map-3503839677ff41e311010b2b5e25eafda533110c.tar.gz
"