summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3e18345b96610054c69d33c8435a933b5d1646fa (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: Hugo Osvaldo Barrera <hugo@barrera.io>

pkgname=planetary-annihilation-pte
pkgver=latest
pkgrel=3
pkgdesc="Planetary Annihilation Public Test Environment Launcher"
group=("games")
arch=('x86_64')
url="https://forums.uberent.com/threads/streams-pte-and-experimental-builds.58960/page-4#post-937028"
license=('MIT')
depends=("python-pycurl")
conflicts=("planetary-annihilation")
source=("https://github.com/pa-pyrus/papatcher.git"
        "PA.sh")
md5sums=('SKIP'
         'a06eed75eb032d8a03b25d92b8abebd1')

pkgver() {
  cd "$srcdir/${_gitname}"
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  install -Dm 755 "$srcdir/papatcher/papatcher.py" "$pkgdir/usr/bin/PA-pte"
  install -Dm 755 "${srcdir}/PA.sh" "${pkgdir}/usr/bin/PA"
}