2020-07-01 12:00:09 +00:00
|
|
|
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
|
|
|
pkgname=postmarketos-welcome-gtk3
|
2021-07-06 19:59:00 +00:00
|
|
|
pkgver=0.3.0
|
2020-09-10 11:27:34 +00:00
|
|
|
pkgrel=0
|
2020-07-01 12:00:09 +00:00
|
|
|
pkgdesc="postmarketOS welcome app"
|
|
|
|
url="https://gitlab.com/postmarketOS/postmarketos-welcome-gtk3"
|
|
|
|
arch="all"
|
|
|
|
license="GPL-3.0-or-later"
|
2021-07-06 19:59:00 +00:00
|
|
|
makedepends="meson libhandy1-dev"
|
2020-07-01 12:00:09 +00:00
|
|
|
source="https://gitlab.com/postmarketOS/postmarketos-welcome-gtk3/-/archive/$pkgver/postmarketos-welcome-gtk3-$pkgver.tar.bz2"
|
|
|
|
options="!check" # No tests
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
install -Dm644 "data/welcome-message" \
|
|
|
|
"$pkgdir/etc/welcome-message"
|
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="
|
|
|
|
0bffbf16dac78c76824cc76e04d3b97465cf5cb3504c6b475345856308dd695b73e6fb3549874ea10882b41cf1593174e07537e77516f60376050e8a3afc1ceb postmarketos-welcome-gtk3-0.3.0.tar.bz2
|
|
|
|
"
|