summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dd477e21452af18f226c1f1961472cc6566c79fb (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
# Maintainer: smooz <smooz at mailbox dot org>
# Contributor: Dunon <josep.oliver at tutanota dot com>

pkgname=grevis-git
pkgver=0.1.1.r5.ffeabe3
pkgrel=1
pkgdesc='A simple game launcher'
arch=('any')
url='https://gitlab.gnome.org/dunon/grevis'
license=('GPL3')
depends=('python' 'gtk3')
makedepends=('meson' 'ninja' 'git')
conflicts=('grevis')
source=('grevis::git+https://gitlab.gnome.org/dunon/grevis.git')
md5sums=('SKIP')

pkgver() {
	cd "${pkgname%-git}"
	git describe --tags | sed 's/-/.r/; s/-g/./'
}

package() {
	cd "${pkgname%-git}"
	meson builddir --prefix="/usr"
	DESTDIR="$pkgdir" ninja -C builddir install
}