makedeb


blasphemer-wad 0.1.8-0


A free Heretic game data file (IWAD)

Viewing /PKGBUILD.

View raw.

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

# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: Jan Cholasta (AUR) <grubber at grubber cz>
# Contributor: Zohar Malamant (AUR) <dotfloat gmail com>
# Contributor: Ronan Rabouin (AUR) <darkbaboon@gmail.com>

pkgname=blasphemer-wad
pkgver=0.1.8
pkgrel=0
pkgdesc="A free Heretic game data file (IWAD)"
arch=('all')
url='https://github.com/Blasphemer/blasphemer'
license=('BSD')
# At least one game engine
optdepends=('drdteam-repo: repo for the engines bellow'
            'gzdoom: game engine'
            'lzdoom: fork of gzdoom for older hardware (alternative)')
source=("${pkgname}-${pkgver}.zip::https://github.com/Blasphemer/blasphemer/releases/download/v${pkgver}/blasphem-${pkgver}.zip"
        "copying-${pkgver}.md::https://raw.githubusercontent.com/Blasphemer/blasphemer/v${pkgver}/COPYING.md")
noextract=("${pkgname}-${pkgver}.zip")
b2sums=('6892c6eee3fe46b48b49f167e94badaed310fc11fc6ddf43e23b0cc18f0a8f57d4408782f40a4a19f96c38a574ebb3aeebfcaeede867aaf041254d36ae585836'
        'be657728062e8710d9f37aa735f2b0b05be007b39e091ddde6ac610ced0086d76eb42953ecc835cfbe561ce00da9d71e864771ca62ae069c685016cc20d9fe81')

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

package() {
  install -Dm644 "$srcdir/${pkgname}-${pkgver}/blasphem.wad" "$pkgdir/usr/share/games/doom/blasphem.wad"
  install -Dm644 "$srcdir/copying-${pkgver}.md" "$pkgdir/usr/share/doc/$pkgname/copying"
}