blob: 934a942739470799e350c697f438900c00b18206 (
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-opengamepadui
pkgname=opengamepadui-session-git
pkgver=r22.f9aafe5
pkgrel=1
pkgdesc="Gamescope session for running OpenGamepadUI"
arch=('any')
url="https://github.com/ShadowBlip/${_gitdir}"
license=('GPL')
depends=('gamescope' 'gamescope-session-git')
provides=('opengamepadui-session' 'gamescope-session-opengamepadui')
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
}
|