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.6.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="
9ff268f62dbce4d86e6ba22ef85193646db6b3b2029a7f1c462e2795e3c0e37caca779aa3d21fc2b68b99cf4c1a2a715331141185c39f2b2a73cda85982a730e postmarketos-welcome-0.6.0.tar.bz2
abf57cca997ef78cd6f71e370433e1776b80ab6a55c471eb5ce97008aedfec3e01e120dd8449899e4c15edf90e3679a6b3d62a64937b84d00762433680749ad1 org.postmarketos.Welcome.desktop
"