summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6585484b2d943b74b202bd543539cb284ca23729 (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
29
30
# Maintainer: Denis Sheremet <me@lxlz.space>
pkgname=legendary-run-git # '-bzr', '-git', '-hg' or '-svn'
pkgver=r2.2cd5616
pkgrel=1
pkgdesc="bash script to check updates and launch a game using legendary"
arch=('any')
url="https://gitlab.com/lesf0/legendary-run"
license=('Apache')
groups=()
depends=('legendary' 'zenity')
makedepends=('git')
provides=("${pkgname%-VCS}")
conflicts=("${pkgname%-VCS}")
replaces=()
backup=()
options=()
install=
source=("${pkgname%-git}::git+https://gitlab.com/lesf0/legendary-run.git")
noextract=()
md5sums=('SKIP')

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

package() {
	cd "$srcdir/${pkgname%-git}"
	install -DT "${pkgname%-git}.sh" "$pkgdir/usr/bin/${pkgname%-git}"
}