summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ddd19b39ef717c59053a3c1fa134f99d186e5d5 (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: Carneiro <gabriel dot chaves dot carneiro at gmail dot com>
pkgname=minlau-git
_pkgname=minlau
pkgver=1.5.r0.82ff767
pkgrel=1
pkgdesc="A minimalist game launcher for wine"
url="https://github.com/theRealCarneiro/minlau"
arch=('i686' 'x86_64')
license=('MIT')
depends=('wine')
makedepends=('git')
optdepends=('gamemode: optimizations to run games smoother'
		  'winetricks: sandboxing prefix'
		  'bash-completion: bash tab completion')
source=(${_pkgname}::git+${url}.git)
md5sums=('SKIP')

pkgver(){
	cd $_pkgname
	printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

package() {
	cd $_pkgname
	DESTDIR=$pkgdir PREFIX=/usr ./setup.sh install
}