113.0-1
[arch-packages.git] / libgnome-games-support / trunk / PKGBUILD
blob2d934c4b2834438d15cbf5c12cd81a43b4334ba5
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=libgnome-games-support
4 pkgver=1.8.2
5 pkgrel=2
6 pkgdesc="Code shared between GNOME games"
7 url="https://gitlab.gnome.org/GNOME/libgnome-games-support"
8 arch=(x86_64)
9 license=(GPL3 LGPL3)
10 depends=(libgee gtk3)
11 makedepends=(vala git meson)
12 provides=("libgnome-games-support-${pkgver%%.*}.so")
13 _commit=406695a2bd14436cb7ff10001865db9d1c236fad  # tags/1.8.2^0
14 source=("git+https://gitlab.gnome.org/GNOME/libgnome-games-support.git#commit=$_commit")
15 sha256sums=('SKIP')
17 pkgver() {
18   cd libgnome-games-support
19   git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
22 prepare() {
23   cd libgnome-games-support
26 build() {
27   arch-meson libgnome-games-support build
28   meson compile -C build
31 check() {
32   meson test -C build --print-errorlogs
35 package() {
36   meson install -C build --destdir "$pkgdir"