summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 010e2face75c74c47ea0e2008873dc4b34b9053e (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
_pkgname=retro-gtk
pkgname=$_pkgname-git
pkgver=0.18.1+124+g577091b
pkgrel=1
pkgdesc='Toolkit to write GTK+ 3 based Libretro frontends'
arch=('x86_64')
license=('GPL3')
url='https://wiki.gnome.org/Apps/Games'
depends=('gtk3' 'libpulse')
makedepends=('git' 'gobject-introspection' 'meson' 'vala')
provides=('retro-gtk')
conflicts=('retro-gtk')
source=("git+https://gitlab.gnome.org/GNOME/retro-gtk.git")
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/-/+/g'
}

build() {
  meson --prefix /usr --buildtype=plain $_pkgname build
  ninja -C build
}

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