makedeb
A free Heretic game data file (IWAD)
Click here to go back to the commit logs for blasphemer-wad.
Hash: 571f7fbb9a9bff6ba1b479e85c9130b68c794925
Message: Initial mpr release
diff --git a/.SRCINFO b/.SRCINFO
index 22f1744..e49d3e0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,20 @@
-pkgbase = blasphemer-wad
- pkgdesc = A free Heretic game data file (IWAD)
- pkgver = 0.1.8
- pkgrel = 1
- url = https://github.com/Blasphemer/blasphemer
- arch = any
- license = BSD
- replaces = blasphemer
- source = https://github.com/Blasphemer/blasphemer/releases/download/v0.1.8/blasphem-0.1.8.zip
- source = https://raw.githubusercontent.com/Blasphemer/blasphemer/v0.1.8/COPYING.md
- sha256sums = 5838d211add81e1696a621485c1e40771035daf6609d08bad7018f52acfa5e54
- sha256sums = 1c985de26efb279ed42f5c8771201580674097eb107e43d385c8b09d13a3c2d2
-
+generated-by = makedeb
pkgname = blasphemer-wad
-
+pkgbase = blasphemer-wad
+pkgdesc = A free Heretic game data file (IWAD)
+pkgrel = 0
+pkgver = 0.1.8
+url = https://github.com/Blasphemer/blasphemer
+arch = all
+license = BSD
+noextract = blasphemer-wad-0.1.8.zip
+optdepends = drdteam-repo: repo for the engines bellow
+optdepends = gzdoom: game engine
+optdepends = lzdoom: fork of gzdoom for older hardware (alternative)
+source = blasphemer-wad-0.1.8.zip::https://github.com/Blasphemer/blasphemer/releases/download/v0.1.8/blasphem-0.1.8.zip
+source = copying-0.1.8.md::https://raw.githubusercontent.com/Blasphemer/blasphemer/v0.1.8/COPYING.md
+b2sums = 6892c6eee3fe46b48b49f167e94badaed310fc11fc6ddf43e23b0cc18f0a8f57d4408782f40a4a19f96c38a574ebb3aeebfcaeede867aaf041254d36ae585836
+b2sums = be657728062e8710d9f37aa735f2b0b05be007b39e091ddde6ac610ced0086d76eb42953ecc835cfbe561ce00da9d71e864771ca62ae069c685016cc20d9fe81
+optdepends = drdteam-repo: repo for the engines bellow
+optdepends = gzdoom: game engine
+optdepends = lzdoom: fork of gzdoom for older hardware (alternative)
diff --git a/.gitignore b/.gitignore
index c8b1fee..9369ef2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,4 @@
-/*.zip
-/COPYING.md
-/*.pkg.*
-/pkg/
-/src/
+blasphemer-wad*
+copying*
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
index f6337ab..f262875 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,33 @@
-# Maintainer: Jan Cholasta <grubber at grubber cz>
-# Contributor: Zohar Malamant <dotfloat gmail com>
-# Contributor: Ronan Rabouin <darkbaboon@gmail.com>
+# 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=1
+pkgrel=0
pkgdesc="A free Heretic game data file (IWAD)"
-arch=('any')
+arch=('all')
url='https://github.com/Blasphemer/blasphemer'
license=('BSD')
-replaces=('blasphemer')
-source=("https://github.com/Blasphemer/blasphemer/releases/download/v${pkgver}/blasphem-${pkgver}.zip"
- "https://raw.githubusercontent.com/Blasphemer/blasphemer/v${pkgver}/COPYING.md")
-sha256sums=('5838d211add81e1696a621485c1e40771035daf6609d08bad7018f52acfa5e54'
- '1c985de26efb279ed42f5c8771201580674097eb107e43d385c8b09d13a3c2d2')
+# 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 "$srcdir"/blasphem.wad -t "$pkgdir"/usr/share/doom -D -m 644
- install "$srcdir"/COPYING.md -t "$pkgdir"/usr/share/licenses/$pkgname -D -m 644
+ 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"
}