pmaports/main/postmarketos-welcome/APKBUILD

39 lines
1.1 KiB
Text
Raw Normal View History

# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=postmarketos-welcome
pkgver=0.4.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"
options="!check" # No tests
replaces="postmarketos-welcome-gtk3"
provides="postmarketos-welcome-gtk3"
build() {
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
DESTDIR="$pkgdir" meson install -C output
# Autostart on first login, the app removes the symlink when started
local _autostartdir="$pkgdir/etc/skel/.config/autostart"
mkdir -p "$_autostartdir"
ln -s "/usr/share/applications/org.postmarketos.Welcome.desktop" \
"$_autostartdir/org.postmarketos.Welcome.desktop"
}
sha512sums="
653c049346df730abe8d10a1474dbbc6791af87d4895cf4533263214225c0f45ea7118069013b70c3f796544203eb66f05833b201bd2be3ffc9f9bb02e013ef3 postmarketos-welcome-0.4.0.tar.bz2
"