summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c63909781af6523cab2e651a0574381c93b6d5a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
_gitdir=gamescope-session-steam-plus
pkgname=${_gitdir}-git
pkgver=r1.6835776
pkgrel=1
pkgdesc="Gamescope session for running OpenGamepadUI in overlay mode with Steam"
arch=('any')
url="https://github.com/ShadowBlip/${_gitdir}"
license=('GPL')
depends=('gamescope' 'gamescope-session-git' 'gamescope-session-steam-git')
provides=('gamescope-session-steam')
makedepends=('git')
source=("${_gitdir}::git+${url}.git")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${_gitdir}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/${_gitdir}"
	cp -rv ${srcdir}/${_gitdir}/usr ${pkgdir}/usr
}