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