38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
|
pkgname=postmarketos-welcome
|
|
pkgver=0.4.2
|
|
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="
|
|
9a1bc0683aa8c0d05de8f280798e46f0e5dedd35d3abc84a48d63cd4d51c5a072d6daf449d64aa0ad7e40c847e6500c39db4140795ae88d3f0759cb2e784a3a3 postmarketos-welcome-0.4.2.tar.bz2
|
|
"
|