summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Gsänger2019-03-31 14:15:02 +0200
committerSebastian Gsänger2019-03-31 14:15:02 +0200
commit894fab3f781d653cee3b045ae84a8ea67c9a62aa (patch)
tree932f692bcc6295de5ffe72c42b4e824091a77799
downloadaur-894fab3f781d653cee3b045ae84a8ea67c9a62aa.tar.gz
init wolf3d-data-steam
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD28
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7bdf0f29598
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = wolf3d-data-steam
+ pkgdesc = Wolfenstein 3D data via Steam
+ pkgver = 1
+ pkgrel = 1
+ url = http://store.steampowered.com/app/2270
+ arch = any
+ license = Proprietary
+ makedepends = steamcmd
+ provides = wolf3d-data
+
+pkgname = wolf3d-data-steam
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ad2cd384c99
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Sebastian Gsänger <sebastian_gsaenger [at] web.de>
+pkgname=wolf3d-data-steam
+pkgver=1
+pkgrel=1
+pkgdesc="Wolfenstein 3D data via Steam"
+arch=('any')
+provides=('wolf3d-data')
+makedepends=('steamcmd')
+license=('Proprietary')
+url='http://store.steampowered.com/app/2270'
+
+package() {
+ # Use steamcmd to get data.
+ printf "Enter your Steam username:"
+ read steam_username
+ steamcmd +@sSteamCmdForcePlatformType windows +@ShutdownOnFailedCommand 1 +force_install_dir $srcdir +login $steam_username "+app_update 2270 validate" +quit
+
+ # Move required files to pkgdir
+ install -D -m 644 $srcdir/base/AUDIOHED.WL6 $pkgdir/usr/share/wolf3d/AUDIOHED.WL6
+ install -D -m 644 $srcdir/base/AUDIOT.WL6 $pkgdir/usr/share/wolf3d/AUDIOT.WL6
+ install -D -m 644 $srcdir/base/GAMEMAPS.WL6 $pkgdir/usr/share/wolf3d/GAMEMAPS.WL6
+ install -D -m 644 $srcdir/base/MAPHEAD.WL6 $pkgdir/usr/share/wolf3d/MAPHEAD.WL6
+ install -D -m 644 $srcdir/base/VGADICT.WL6 $pkgdir/usr/share/wolf3d/VGADICT.WL6
+ install -D -m 644 $srcdir/base/VGAGRAPH.WL6 $pkgdir/usr/share/wolf3d/VGAGRAPH.WL6
+ install -D -m 644 $srcdir/base/VGAHEAD.WL6 $pkgdir/usr/share/wolf3d/VGAHEAD.WL6
+ install -D -m 644 $srcdir/base/VSWAP.WL6 $pkgdir/usr/share/wolf3d/VSWAP.WL6
+}
+