pmaports/main/postmarketos-welcome/APKBUILD

39 lines
1.2 KiB
Text
Raw Normal View History

# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=postmarketos-welcome
pkgver=0.7.0
pkgrel=0
pkgdesc="postmarketOS welcome app"
url="https://gitlab.com/postmarketOS/postmarketos-welcome"
arch="all"
license="GPL-3.0-or-later"
makedepends="
desktop-file-utils
glib-dev
gtk4.0-dev
libadwaita-dev
meson
"
source="
https://gitlab.com/postmarketOS/postmarketos-welcome/-/archive/$pkgver/postmarketos-welcome-$pkgver.tar.bz2
org.postmarketos.Welcome.desktop
"
options="!check" # No tests
replaces="postmarketos-welcome-gtk3"
provides="postmarketos-welcome-gtk3=$pkgver-r$pkgrel"
build() {
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
DESTDIR="$pkgdir" meson install -C output
install -Dm644 "$srcdir"/org.postmarketos.Welcome.desktop \
"$pkgdir"/etc/xdg/autostart/org.postmarketos.Welcome.desktop
}
sha512sums="
376d25c8816a069a64cf566443d5c218d43afe8a3861bd780cacea8b3aebfa1a0686b29b978b95339edf32fb83cdbf10354e3ce4bbcc66ea2b46d5829ee31efe postmarketos-welcome-0.7.0.tar.bz2
abf57cca997ef78cd6f71e370433e1776b80ab6a55c471eb5ce97008aedfec3e01e120dd8449899e4c15edf90e3679a6b3d62a64937b84d00762433680749ad1 org.postmarketos.Welcome.desktop
"