mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-10 00:02:41 +02:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=asteroid
|
|
pkgname=asteroid-flashlight
|
|
pkgver=2.0.0
|
|
pkgrel=0
|
|
pkgdesc="Default flashlight app for AsteroidOS"
|
|
url="https://github.com/AsteroidOS/asteroid-flashlight"
|
|
# armhf blocked by qml-asteroid
|
|
arch="all !armhf"
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
mapplauncherd
|
|
nemo-keepalive
|
|
"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
qml-asteroid-dev
|
|
qt5-qtbase-dev
|
|
qt5-qtdeclarative-dev
|
|
samurai
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/AsteroidOS/asteroid-flashlight/archive/refs/tags/$pkgver.tar.gz"
|
|
options="!check" # No tests
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
002a9d3d75857c08f270a6cd273e10422059143f3cdcf616bbaee470708b9d8f620d683d9aa95b6b65b26cdc88547e10833aba9e89a98d735dbe5e3f037f3bf9 asteroid-flashlight-2.0.0.tar.gz
|
|
"
|