summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrent s2020-07-16 23:29:26 -0400
committerbrent s2020-07-16 23:29:26 -0400
commitd117cdecd85264dacd091665fd4bad1733634e0f (patch)
tree031aa038c0884b51b1b187b7ca6cf0475a01be39
parent27d5ca3c9d57a2ca6c4bc6d8e3bc161eec02f422 (diff)
downloadaur-zandronum-bin.tar.gz
moving zandronum over to source building, and using this for the binary tarball
-rw-r--r--.SRCINFO38
-rw-r--r--LICENSE.txt39
-rw-r--r--LICENSE.txt.sigbin0 -> 566 bytes
-rw-r--r--PKGBUILD80
-rwxr-xr-xzandronum-server.launcher4
-rw-r--r--zandronum-server.launcher.sigbin0 -> 566 bytes
-rw-r--r--zandronum.desktop11
-rw-r--r--zandronum.desktop.sigbin0 -> 566 bytes
-rw-r--r--zandronum.install4
-rwxr-xr-xzandronum.launcher4
-rw-r--r--zandronum.launcher.sigbin0 -> 566 bytes
-rw-r--r--zandronum.pngbin0 -> 74291 bytes
-rw-r--r--zandronum.png.sigbin0 -> 566 bytes
13 files changed, 153 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 331cd65f10e..b515550913c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,26 +1,48 @@
-# Generated by aurpkgs
-# Fri Jul 17 02:59:28 UTC 2020
pkgbase = zandronum-bin
- pkgdesc = OpenGL ZDoom port with Client/Server multiplayer (Binary release)
+ pkgdesc = OpenGL ZDoom port with Client/Server multiplayer
pkgver = 3.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://zandronum.com/
- arch = i686
+ install = zandronum.install
arch = x86_64
- license = CUSTOM
+ license = custom
depends = sdl
- depends = libjpeg-turbo
+ depends = libjpeg6-turbo
depends = glu
depends = openssl-1.0
depends = fluidsynth
depends = fmodex
optdepends = timidity++: midi support
optdepends = freedoom: free IWAD
- optdepends = gtk2:for a GUI selection screen
+ optdepends = gtk2: for a GUI selection screen
optdepends = doomseeker: a GUI server browser
+ conflicts = zandronum2
+ conflicts = zandronum
source = https://zandronum.com/downloads/zandronum3.0.1-linux-x86_64.tar.xz
+ source = LICENSE.txt
+ source = zandronum.launcher
+ source = zandronum-server.launcher
+ source = zandronum.png
+ source = zandronum.desktop
+ source = LICENSE.txt.sig
+ source = zandronum.launcher.sig
+ source = zandronum-server.launcher.sig
+ source = zandronum.png.sig
+ source = zandronum.desktop.sig
source = zandronum3.0.1-linux-x86_64.tar.xz.sig
+ validpgpkeys = 748231EBCBD808A14F5E85D28C004C2F93481F6B
sha512sums = d09106cc7444f61abea8e07e4ea9d009b9e1e3e2e86c8f2f0320dcbe1636eda5abe2a44ba995fbb7b58c32ca43d79cb6f33ee0e54b4b9d33998a1fa3a2ea58a8
+ sha512sums = b928f3211ff31f17fc2d754728e299b5783e1b946b4019713718b7613e13ff0a7c4f02087c0ab4f137f7a0de57a2bfeaa6ed63285d0e6063d2b4734b097ce9e1
+ sha512sums = 488a274e40727ea58e1a6a67d9d37e77476f4fbcee9071e5f278fcfd88ddce42d25d3337d5d15455aa5cba32a176ec731e398cddfc6b86e151ba92c8bc1e1f22
+ sha512sums = 5c4ab297579c3b623ea549548b9e0674195f3d86f17589a2a756c8362e46dec0f1eb488ec0347be14968969f9ba802998bd67d910d3d6500a90f50074fcabfb5
+ sha512sums = baad2256990455c275b23c56984a1db3b1ced921b69f2688c84d99eda996f7b61466543c7bd649e295c12b48dc288dce79ad911e2b5b5e0640a899f5281712a4
+ sha512sums = 1dacf401b7a3e25a4a14275c25ad5a63db1ead45fb1140ddbe6a3ff8e0175960d5b9b85b9b061abf81f00d48671366c8624eaaba2625fb3b4d18a2785ee367a6
+ sha512sums = SKIP
+ sha512sums = SKIP
+ sha512sums = SKIP
+ sha512sums = SKIP
+ sha512sums = SKIP
sha512sums = SKIP
pkgname = zandronum-bin
+
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 00000000000..9a80825a3f9
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,39 @@
+Zandronum
+Copyright (c) 2012, Zandronum Development Team
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+3. Neither the name of the Zandronum Development Team nor the names of its
+ contributors may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+4. Redistributions in any form must be accompanied by information on how to
+ obtain complete source code for the software and any accompanying software
+ that uses the software. The source code must either be included in the
+ distribution or be available for no more than the cost of distribution plus
+ a nominal fee, and must be freely redistributable under reasonable
+ conditions. For an executable file, complete source code means the source
+ code for all modules it contains. It does not include source code for
+ modules or files that typically accompany the major components of the
+ operating system on which the executable file runs.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The above copyright and license notice applies to distributions of Zandronum in
+source and binary form. Some source files contain additional notices of
+original copyright by their contributors; see each source for details.
diff --git a/LICENSE.txt.sig b/LICENSE.txt.sig
new file mode 100644
index 00000000000..a873adf8209
--- /dev/null
+++ b/LICENSE.txt.sig
Binary files differ
diff --git a/PKGBUILD b/PKGBUILD
index 9961244d8ca..c79efada916 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,27 +4,69 @@ validpgpkeys=('748231EBCBD808A14F5E85D28C004C2F93481F6B')
# News updates for packages can be followed at https://devblog.square-r00t.net
pkgname=zandronum-bin
pkgver=3.0.1
-pkgrel=1
-pkgdesc="OpenGL ZDoom port with Client/Server multiplayer (Binary release)"
-arch=( 'i686' 'x86_64' )
+pkgrel=2
+_fmodex_ver=4.24.16
+pkgdesc="OpenGL ZDoom port with Client/Server multiplayer"
+#arch=('i686' 'x86_64')
+arch=('x86_64')
url="https://zandronum.com/"
-license=( 'CUSTOM' )
-depends=( 'sdl' 'libjpeg-turbo' 'glu' 'openssl-1.0' 'fluidsynth' 'fmodex' )
-optdepends=( 'timidity++: midi support' 'freedoom: free IWAD' 'gtk2:for a GUI selection screen' 'doomseeker: a GUI server browser' )
-_pkgname=zandronum-bin
-conflicts=( 'pkg''pkg')
-install=
-changelog=
-noextract=()
-source=("https://zandronum.com/downloads/zandronum3.0.1-linux-x86_64.tar.xz"
- "zandronum3.0.1-linux-x86_64.tar.xz.sig")
+license=('custom')
+depends=('sdl' 'libjpeg6-turbo' 'glu' 'openssl-1.0' 'fluidsynth' 'fmodex')
+optdepends=('timidity++: midi support' 'freedoom: free IWAD' 'gtk2: for a GUI selection screen' 'doomseeker: a GUI server browser')
+_pkgname=zandronum
+conflicts=('zandronum2' 'zandronum')
+install=zandronum.install
+source=("https://zandronum.com/downloads/${_pkgname}${pkgver}-linux-x86_64.tar.xz"
+ "LICENSE.txt"
+ "${_pkgname}.launcher"
+ "${_pkgname}-server.launcher"
+ "${_pkgname}.png"
+ "${_pkgname}.desktop"
+ "LICENSE.txt.sig"
+ "${_pkgname}.launcher.sig"
+ "${_pkgname}-server.launcher.sig"
+ "${_pkgname}.png.sig"
+ "${_pkgname}.desktop.sig"
+ "${_pkgname}${pkgver}-linux-x86_64.tar.xz.sig")
sha512sums=('d09106cc7444f61abea8e07e4ea9d009b9e1e3e2e86c8f2f0320dcbe1636eda5abe2a44ba995fbb7b58c32ca43d79cb6f33ee0e54b4b9d33998a1fa3a2ea58a8'
+ 'b928f3211ff31f17fc2d754728e299b5783e1b946b4019713718b7613e13ff0a7c4f02087c0ab4f137f7a0de57a2bfeaa6ed63285d0e6063d2b4734b097ce9e1'
+ '488a274e40727ea58e1a6a67d9d37e77476f4fbcee9071e5f278fcfd88ddce42d25d3337d5d15455aa5cba32a176ec731e398cddfc6b86e151ba92c8bc1e1f22'
+ '5c4ab297579c3b623ea549548b9e0674195f3d86f17589a2a756c8362e46dec0f1eb488ec0347be14968969f9ba802998bd67d910d3d6500a90f50074fcabfb5'
+ 'baad2256990455c275b23c56984a1db3b1ced921b69f2688c84d99eda996f7b61466543c7bd649e295c12b48dc288dce79ad911e2b5b5e0640a899f5281712a4'
+ '1dacf401b7a3e25a4a14275c25ad5a63db1ead45fb1140ddbe6a3ff8e0175960d5b9b85b9b061abf81f00d48671366c8624eaaba2625fb3b4d18a2785ee367a6'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
'SKIP')
-build() {
- cd "${srcdir}/${_pkgname}/src"
- make prefix=${pkgdir}/usr
-}
+
+if [ "${CARCH}" == "x86_64" ];
+then
+ _fmod_suffix="64"
+else
+ _fmod_suffix=""
+fi
+
package() {
- install -D -m755 ${srcdir}/${_pkgname}/src/${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
- install -D -m644 ${srcdir}/${_pkgname}/docs/README.html.en ${pkgdir}/usr/share/doc/${_pkgname}/README.html
+ cd ${srcdir}
+
+ install -Dm644 "zandronum.pk3" "${pkgdir}/usr/share/${pkgname}/zandronum.pk3"
+ #install -Dm644 "brightmaps.pk3" "${pkgdir}/usr/share/${pkgname}/brightmaps.pk3"
+ install -Dm644 "skulltag_actors.pk3" "${pkgdir}/usr/share/${pkgname}/skulltag_actors.pk3"
+ install -Dm755 "liboutput_sdl.so" "${pkgdir}/usr/share/${pkgname}/lib/liboutput_sdl.so"
+ install -Dm755 "zandronum" "${pkgdir}/usr/share/${pkgname}/zandronum"
+ install -Dm755 "zandronum-server" "${pkgdir}/usr/share/${pkgname}/zandronum-server"
+ install -Dm755 "zandronum.launcher" "${pkgdir}/usr/bin/zandronum"
+ install -Dm755 "zandronum-server.launcher" "${pkgdir}/usr/bin/zandronum-server"
+ install -Dm755 "libfmodex${_fmod_suffix}-${_fmodex_ver}.so" "${pkgdir}/usr/share/${pkgname}/lib/libfmodex${_fmod_suffix}-${_fmodex_ver}.so"
+ install -Dm644 "zandronum.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ install -Dm644 "zandronum.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -dm755 ${pkgdir}/usr/share/${pkgname}/lib
+
+# ln -s "/usr/lib/libcrypto.so" "$pkgdir/usr/share/zandronum/lib/libcrypto.so.0.9.8"
+# ln -s "/usr/lib/libssl.so" "$pkgdir/usr/share/zandronum/lib/libssl.so.0.9.8"
+
+ install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
+
diff --git a/zandronum-server.launcher b/zandronum-server.launcher
new file mode 100755
index 00000000000..d35e234a077
--- /dev/null
+++ b/zandronum-server.launcher
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+export LD_LIBRARY_PATH=/usr/share/zandronum/lib
+exec /usr/share/zandronum/zandronum-server "${@}"
diff --git a/zandronum-server.launcher.sig b/zandronum-server.launcher.sig
new file mode 100644
index 00000000000..93863d7bd38
--- /dev/null
+++ b/zandronum-server.launcher.sig
Binary files differ
diff --git a/zandronum.desktop b/zandronum.desktop
new file mode 100644
index 00000000000..ee5fde99cc2
--- /dev/null
+++ b/zandronum.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Zandronum
+GenericName=Zandronum
+Comment=OpenGL ZDoom port with Client/Server multiplayer
+Exec=/usr/bin/zandronum
+Icon=/usr/share/pixmaps/zandronum.png
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Application;Game
diff --git a/zandronum.desktop.sig b/zandronum.desktop.sig
new file mode 100644
index 00000000000..c42ee00be8e
--- /dev/null
+++ b/zandronum.desktop.sig
Binary files differ
diff --git a/zandronum.install b/zandronum.install
new file mode 100644
index 00000000000..1ff7aaefa72
--- /dev/null
+++ b/zandronum.install
@@ -0,0 +1,4 @@
+## arg 1: the new package version
+post_install() {
+ echo ":: Zandronum looks for IWADs (e.g. doom2.wad) in CWD, ~/.zandronum and /usr/local/share"
+}
diff --git a/zandronum.launcher b/zandronum.launcher
new file mode 100755
index 00000000000..973d125f698
--- /dev/null
+++ b/zandronum.launcher
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+export LD_LIBRARY_PATH=/usr/share/zandronum/lib
+exec /usr/share/zandronum/zandronum "${@}"
diff --git a/zandronum.launcher.sig b/zandronum.launcher.sig
new file mode 100644
index 00000000000..cf914c703b1
--- /dev/null
+++ b/zandronum.launcher.sig
Binary files differ
diff --git a/zandronum.png b/zandronum.png
new file mode 100644
index 00000000000..b81a7f2d5ee
--- /dev/null
+++ b/zandronum.png
Binary files differ
diff --git a/zandronum.png.sig b/zandronum.png.sig
new file mode 100644
index 00000000000..104f6994e3a
--- /dev/null
+++ b/zandronum.png.sig
Binary files differ