summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 274bd27e775986376f172825230b7c9b89472491 (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: Vincent Grande <shoober420@gmail.com>

pkgname=rottexpr-git
pkgver=1
pkgrel=1
pkgdesc='Source port for the original Rise of the Triad'
arch=('i686' 'x86_64')
url="https://github.com/LTCHIPS/rottexpr"
license=('GPL3')
conflicts=("rottexpr")
provides=("rottexpr")
depends=('sdl2' 'sdl2_mixer')
makedepends=(git)
source=("git+https://github.com/LTCHIPS/rottexpr")
md5sums=('SKIP')

pkgver() {
  cd rottexpr/src
  git describe --tags | sed 's/-/+/g'
}

build() {
  cd rottexpr/src
  make
}

package() {
  cd rottexpr/src
  install -Dm755 $srcdir/rottexpr/src/rott "$pkgdir"/usr/bin/rottexpr
}