2020-07-01 12:00:09 +00:00
|
|
|
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
2022-06-07 23:18:03 +00:00
|
|
|
pkgname=postmarketos-welcome
|
|
|
|
pkgver=0.4.0
|
2020-09-10 11:27:34 +00:00
|
|
|
pkgrel=0
|
2020-07-01 12:00:09 +00:00
|
|
|
pkgdesc="postmarketOS welcome app"
|
2022-06-07 23:18:03 +00:00
|
|
|
url="https://gitlab.com/postmarketOS/postmarketos-welcome"
|
2020-07-01 12:00:09 +00:00
|
|
|
arch="all"
|
|
|
|
license="GPL-3.0-or-later"
|
2022-06-07 23:18:03 +00:00
|
|
|
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"
|
2020-07-01 12:00:09 +00:00
|
|
|
options="!check" # No tests
|
2022-06-07 23:18:03 +00:00
|
|
|
replaces="postmarketos-welcome-gtk3"
|
|
|
|
provides="postmarketos-welcome-gtk3"
|
2020-07-01 12:00:09 +00:00
|
|
|
|
|
|
|
build() {
|
2020-09-04 18:29:24 +00:00
|
|
|
abuild-meson . output
|
|
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
2020-07-01 12:00:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-09-04 18:29:24 +00:00
|
|
|
DESTDIR="$pkgdir" meson install -C output
|
2020-07-01 12:00:09 +00:00
|
|
|
|
2020-07-23 14:47:49 +00:00
|
|
|
# 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"
|
2020-07-01 12:00:09 +00:00
|
|
|
}
|
|
|
|
|
2021-07-06 19:59:00 +00:00
|
|
|
sha512sums="
|
2022-06-07 23:18:03 +00:00
|
|
|
653c049346df730abe8d10a1474dbbc6791af87d4895cf4533263214225c0f45ea7118069013b70c3f796544203eb66f05833b201bd2be3ffc9f9bb02e013ef3 postmarketos-welcome-0.4.0.tar.bz2
|
2021-07-06 19:59:00 +00:00
|
|
|
"
|