Added chocolate-doom

Added chocolate-doom from Arch repos. Thanks to original package mantainer Mike Swanson <mikeonthecomputer@gmail.com>
This commit is contained in:
James Heald 2017-09-02 04:52:26 +01:00 committed by Oliver Smith
parent 42697d3b5b
commit 54d8010af1
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,25 @@
pkgname=chocolate-doom
pkgver=2.3.0
pkgrel=0
pkgdesc="Historically-accurate Doom, Heretic, Hexen, and Strife ports."
url="http://www.chocolate-doom.org/"
arch="all"
license="GPL2"
depends="libpng libsamplerate sdl"
makedepends="python sdl-dev sdl_net sdl_mixer-dev"
subpackages="chocolate-doom-doc"
source="http://chocolate-doom.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz"
builddir="$srcdir/${pkgname}-${pkgver}"
build(){
cd "$builddir"
./configure --prefix=/usr
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="43353875f76432123336ac7f8a37d00c447286f5bf17c2a12f6307568fe2533370ca8e5e0f76fa475e353f20dfdea79e3948c47ea8b079ef5dd9d0a53c305bfc chocolate-doom-2.3.0.tar.gz"

View File

@ -0,0 +1,24 @@
pkgname=sdl_net
pkgver=1.2.8
pkgrel=0
pkgdesc="A small sample cross-platform networking library"
url="https://www.libsdl.org/projects/SDL_net/"
arch="all"
license="zlib"
depends="sdl"
makedepends="sdl-dev"
source="https://www.libsdl.org/projects/SDL_net/release/SDL_net-$pkgver.tar.gz"
builddir="$srcdir/SDL_net-$pkgver"
build() {
cd $builddir
./configure --prefix=/usr --disable-static
make
}
package() {
cd $builddir
make DESTDIR="$pkgdir" install
}
sha512sums="2766ca55343127c619958ab3a3ae3052a27a676839f10a158f7dfc071b8db38c2f1fc853e8add32b9fef94ab07eaa986f46a68e264e8087b57c990af30ea9a0b SDL_net-1.2.8.tar.gz"