Skip to content

Instantly share code, notes, and snippets.

@niobium93
Created March 1, 2022 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niobium93/d5eb23abb13b2a6fe0ebc148922b7068 to your computer and use it in GitHub Desktop.
Save niobium93/d5eb23abb13b2a6fe0ebc148922b7068 to your computer and use it in GitHub Desktop.
odamex 10
# Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
# Contributor: Pol Marcet Sardà <polmarcetsarda@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
# Contributor: Curtis Smith <kman922002@gmail.com>
pkgname=odamex
pkgver=10.0.0
pkgrel=1
pkgdesc='A free client/server multiplayer engine for the classic FPS Doom.'
arch=('i686' 'x86_64' 'aarch64')
url='http://odamex.net/'
license=('GPL')
depends=('sdl2_mixer' 'portmidi' 'wxgtk2' 'miniupnpc')
makedepends=('cmake')
optdepends=('timidity++: Required for music')
source=("https://downloads.sourceforge.net/project/odamex/Odamex/${pkgver}/odamex-src-${pkgver}.tar.gz")
sha256sums=('5d96716c26e5fb3af478ff58b58d41d90d885e7d696adcdc256f8675549edf25')
prepare() {
cd $pkgname-src-$pkgver
}
build() {
cd $pkgname-src-${pkgver}
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
.
make
}
package() {
cd $pkgname-src-${pkgver}
make DESTDIR=$pkgdir install
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment