summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50173d3aafaf023fb9c110c32469c93e8621e039 (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
31
32
# 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
  git describe --tags | sed 's/-/+/g'
}

build() {
  cd rottexpr
  
  autoreconf -fi
  make
}

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