Added chocolate-doom
Added chocolate-doom from Arch repos. Thanks to original package mantainer Mike Swanson <mikeonthecomputer@gmail.com>
This commit is contained in:
parent
730f25c4ce
commit
68ce75df26
2 changed files with 49 additions and 0 deletions
25
main/chocolate-doom/APKBUILD
Normal file
25
main/chocolate-doom/APKBUILD
Normal 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"
|
24
main/sdl_net/APKBUILD
Normal file
24
main/sdl_net/APKBUILD
Normal 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"
|
Loading…
Reference in a new issue