summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0a22b828cb64cc85f108dbc14727586dbd43ef1b (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: physkets <physkets // at // tutanota dot com>
_pkgname=tbftss
pkgname=${_pkgname}-the-pandoran-war-git
pkgver="r1619.5ed5b6b"
pkgrel=1
pkgdesc="A 2D mission-based space shooter, based on the Battle for the Solar System space opera novel trilogy."
url="https://www.battleforthesolarsystem.com/"
arch=('x86_64')
license=('GPL2')
depends=('sdl2' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf')
_srcdirectory="${_pkgname}-git"
source=("${_srcdirectory}::git+https://github.com/stephenjsweeney/${_pkgname}.git")
sha256sums=('SKIP')

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

build() {
  cd "${srcdir}/${_srcdirectory}"
  make
}

package() {
  cd "${srcdir}/${_srcdirectory}"
  make DESTDIR="${pkgdir}" install
}

# vim:set ts=2 sw=2 et: