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