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.5.1
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=$pkgver-r$pkgrel"
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="
7a2383a7aa01facf7dce7189b4ccc54b6506cf1864739d3e70493b1c7f00632009934423893fe9912c5b9d17f10834c82c0bb4bb18f1fd0f2151f4be9912c4d4 postmarketos-welcome-0.5.1.tar.bz2
"