Odamex: added a missing dependency (portmidi) and a install.sh script with...

Odamex: added a missing dependency (portmidi) and a install.sh script with installations instructions.
parent d86d52b8
......@@ -5,21 +5,25 @@
pkgname=odamex
pkgver=0.6.2
pkgrel=1
pkgrel=2
pkgdesc='A free client/server multiplayer engine for the classic FPS Doom.'
arch=('x86_64')
url='http://odamex.net/'
license=('GPL')
depends=('sdl_mixer')
provides=('doom')
depends=('portmidi' 'sdl_mixer')
makedepends=('cmake')
categories=('games')
install=install.sh
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-src-$pkgver.tar.bz2")
md5sums=('02251fb367de5cefebba0895bb6ec6e0')
build() {
cd $srcdir/$pkgname-src-$pkgver
sed 's|getenv("DOOMWADPATH")|"/usr/share/doom"|g' -i {client,server}/src/d_main.cpp
sed \
-e 's|getenv("DOOMWADPATH")|"/usr/share/doom"|g' \
-i client/src/cl_download.cpp \
-i common/d_main.cpp
mkdir -p build && cd build
cmake \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment