Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
aur brutal doom RC10 patch
diff --git a/PKGBUILD b/PKGBUILD
index 7522de9..15b800d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: ProfessorKaos64 <mdeguzis@gmail.com>
+# Contributor: zer0def <zer0def on freenode>
# Mod: http://www.moddb.com/mods/brutal-doom
pkgname=brutal-doom
-pkgver=21.2018.02.24
+pkgver=21.20190515.rc10
pkgrel=1
pkgdesc="Brutal Doom via the GzDoom engine."
arch=(any)
@@ -9,33 +10,31 @@ url="http://www.moddb.com/mods/brutal-doom"
license=('GPL3')
depends=('gzdoom')
optdepends=('doomseeker')
-makedepends=('git')
+makedepends=('curl' 'tidy' 'xmlstarlet')
source=(
- 'http://packages.libregeek.org/game-files/brutal-doom/bd21testfeb24.pk3'
- 'http://packages.libregeek.org/game-files/brutal-doom/DoomMetalVol4.wad'
- 'http://packages.libregeek.org/game-files/brutal-doom/bd21-changelog.txt'
- 'gzdoom.ini'
- 'http://packages.libregeek.org/game-files/brutal-doom/README.md'
- 'http://packages.libregeek.org/game-files/brutal-doom/manual.rtf'
- 'brutal-doom'
- 'brutal-doom.install'
- 'brutal-doom.png'
- 'brutal-doom.desktop'
+ 'bd21RC10.rar::https://www.moddb.com/downloads/start/95667'
+ 'DoomMetalVol4.zip::https://www.moddb.com/downloads/start/61238'
+ 'gzdoom.ini'
+ 'brutal-doom'
+ 'brutal-doom.install'
+ 'brutal-doom.png'
+ 'brutal-doom.desktop'
)
-noextract=('bd21testfeb24.pk3')
md5sums=(
- 'd67380ac1a0af2e3094894d71625f9e5'
- 'ce4e136fa6309327f17b9c828c69d843'
- '52dfc347e01afd80f80a7863ada729b1'
- '275d4b469d1305b72a9af0c0a15a0f1c'
- 'd389f10370dfde975cb32e127385d237'
- '07ece7ee7141dc62b3253c7d1e200620'
- 'e5097664c5be7b3895df588e086c6351'
- 'f0b8b097b26db054cc1fd70c7c3d83e7'
- 'bf85967c850adba3498cdba580a4e081'
- '3ab16e25014b173b5c9d09a4df2d167b'
- )
+ 'bb5cec95e7a3a8657cecda513668019b'
+ '7b299f26145a379028ddab869544fea3'
+ 'b9546fe4ef25d0c8c18ae18e3e853924'
+ 'e5097664c5be7b3895df588e086c6351'
+ 'f0b8b097b26db054cc1fd70c7c3d83e7'
+ 'bf85967c850adba3498cdba580a4e081'
+ '3ab16e25014b173b5c9d09a4df2d167b'
+)
install=$pkgname.install
+DLAGENTS=("https::/bin/sh $(pwd)/moddb-download.sh %o %u")
+
+prepare() {
+ unrar e bd21RC10.rar
+}
package() {
@@ -47,11 +46,10 @@ package() {
msg2 "Installing launcher"
install -m755 "brutal-doom" "$pkgdir/usr/bin/brutal-doom"
- msg2 "Installing bd21testfeb24.pk3 and DoomMetalVol4.wad..."
- install -m644 "$srcdir/bd21testfeb24.pk3" "$pkgdir/usr/share/games/$pkgname/bd21testfeb24.pk3"
+ msg2 "Installing bd21rc10.pk3 and DoomMetalVol4.wad..."
+ install -m644 "$srcdir/BD21RC10.pk3" "$pkgdir/usr/share/games/$pkgname/BD21RC10.pk3"
install -m644 "$srcdir/DoomMetalVol4.wad" "$pkgdir/usr/share/games/$pkgname/DoomMetalVol4.wad"
- install -m644 "$srcdir/manual.rtf" "$pkgdir/usr/share/games/$pkgname/manual.rtf"
- install -m644 "README.md" "$pkgdir/usr/share/games/$pkgname/README.md"
+ install -m644 "$srcdir/BRUTAL DOOM MANUAL.rtf" "$pkgdir/usr/share/games/$pkgname/manual.rtf"
install -m644 "$srcdir/brutal-doom.png" "$pkgdir/usr/share/pixmaps/brutal-doom.png"
install -m644 "$srcdir/brutal-doom.desktop" "$pkgdir/usr/share/applications/brutal-doom.desktop"
diff --git a/gzdoom.ini b/gzdoom.ini
index 4ca8b10..acae2cc 100644
--- a/gzdoom.ini
+++ b/gzdoom.ini
@@ -4,7 +4,7 @@
# Each directory should be on a separate line, preceded by Path=
[IWADSearch.Directories]
Path=.
-Path=/usr/share/games/gzdoom
+Path=/usr/share/gzdoom
Path=$DOOMWADDIR
Path=/usr/share/games/brutal-doom
@@ -13,7 +13,7 @@ Path=/usr/share/games/brutal-doom
# as-is. Layout is the same as for IWADSearch.Directories
[FileSearch.Directories]
Path=/usr/share/games/brutal-doom
-Path=/usr/share/games/gzdoom
+Path=/usr/share/gzdoom
# Files to automatically execute when running the corresponding game.
# Each file should be on its own line, preceded by Path=
@@ -34,7 +34,7 @@ Path=/usr/share/games/gzdoom
[Global.Autoload]
Path=/usr/share/games/brutal-doom/DoomMetalVol4.wad
-Path=/usr/share/games/brutal-doom/bd21testfeb24.pk3
+Path=/usr/share/games/brutal-doom/bd21rc8.pk3
# Wad files to automatically load depending on the game and IWAD you are
# playing. You may have have files that are loaded for all similar IWADs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.