summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e94e02afe8a3fffd1b11288ead2016da9b0edf85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=nostalgia-git
pkgver=0.6.r3.gce88525
pkgrel=1
pkgdesc='Set historic GNOME wallpapers'
arch=(x86_64 aarch64)
url='https://gitlab.gnome.org/bertob/nostalgia'
license=(GPL3)
provides=(nostalgia)
conflicts=(nostalgia)
depends=(libhandy)
makedepends=(
	git
	gobject-introspection
	meson
	vala
)
source=("git+${url}.git")
sha256sums=('SKIP')

build() {
	arch-meson nostalgia build
	meson compile -C build
}

pkgver() {
	cd nostalgia
	git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

check() {
	meson test -C build --print-errorlogs
}

package() {
	DESTDIR="$pkgdir/" meson install -C build
}