makedeb


hacx-wad 1.2-1


Hacx IWAD (game data)

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for hacx-wad.

# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: Jan Cholasta (AUR) <grubber at grubber cz>

pkgname=hacx-wad
pkgver=1.2
pkgrel=1
pkgdesc="Hacx IWAD (game data)"
arch=('all')
url="http://www.drnostromo.com/hacx/"
license=('custom')
# At least one game engine
optdepends=('dsda-doom: doom source port'
            'drdteam-repo: repo for the engines bellow'
            'gzdoom: enhanced doom game engine (alternative)'
            'lzdoom: fork of gzdoom for older hardware (alternative)')
source=(${pkgname}-${pkgver}.zip::http://www.drnostromo.com/hacx/files/hacx12.zip)
noextract=("${pkgname}-${pkgver}.zip")
b2sums=('517014c1522b6a15ae01cc9a824d0125a4e2215ce618c6a315ee0056f7438d538d73393d2f9b8659ac6860ba5da89b0074d16954478e03ffe628e52b36acc8fa')

prepare() {
  cd "${srcdir}"
  # extract archive
  mkdir -p "${pkgname}-${pkgver}"
  bsdtar -xf "${pkgname}-${pkgver}.zip" -C "${pkgname}-${pkgver}"
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  install -Dm644 HACX.WAD "$pkgdir/usr/share/games/doom/hacx.wad"
  install -Dm644 HACX.TXT "$pkgdir/usr/share/doc/$pkgname/hacx.txt"
}