summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 71c453f4ca67ba0f6fb883ffe145ddf45e8b4d6d (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 : Philipp Seiler <p (dot) seiler (at) linuxmail (dot) org>

pkgname=zhlt
pkgver=34
pkgrel=1
pkgdesc="goldSrc map compiling tools (bsp, csg, rad, vis, ripend)"
arch=(any)
url="https://gamebanana.com/tools/5391"
license=('GPL')
#depends=('ruby')
#makedepends=('')
source=("https://twhl.info/wiki/embed/Vluzacn's_ZHLT_v34")
#noextract=($_gemname-${pkgver//_/-}.gem)

build() {
  cd "$srcdir"
  unzip -o src.zip
  cd "zhlt-vluzacn"
  make
}

package() {
  cd "${srcdir}/zhlt-vluzacn"
  for file in hlbsp hlvis hlcsg hlrad ripent
  do
      install -D -m 0755 "bin/${file}" "${pkgdir}/usr/bin/${file}" 
      echo ""
  done
}
sha256sums=('d5c64a9203009f235fb287ee7e767e8c30b9d817033a1bcab96531c3064e7a31')