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 @@ ...@@ -5,21 +5,25 @@
pkgname=odamex pkgname=odamex
pkgver=0.6.2 pkgver=0.6.2
pkgrel=1 pkgrel=2
pkgdesc='A free client/server multiplayer engine for the classic FPS Doom.' pkgdesc='A free client/server multiplayer engine for the classic FPS Doom.'
arch=('x86_64') arch=('x86_64')
url='http://odamex.net/' url='http://odamex.net/'
license=('GPL') license=('GPL')
depends=('sdl_mixer') depends=('portmidi' 'sdl_mixer')
provides=('doom') makedepends=('cmake')
categories=('games') categories=('games')
install=install.sh
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-src-$pkgver.tar.bz2") source=("http://downloads.sourceforge.net/$pkgname/$pkgname-src-$pkgver.tar.bz2")
md5sums=('02251fb367de5cefebba0895bb6ec6e0') md5sums=('02251fb367de5cefebba0895bb6ec6e0')
build() { build() {
cd $srcdir/$pkgname-src-$pkgver 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 mkdir -p build && cd build
cmake \ 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