# Maintainer: Mike Swanson pkgname=crispy-doom pkgdesc="Vanilla-compatible enhanced Doom engine" pkgver=5.7 pkgrel=1 arch=('i686' 'x86_64') url="http://fabiangreffrath.github.io/crispy-doom" license=('GPL2') depends=('hicolor-icon-theme' 'libpng' 'libsamplerate' 'sdl2_mixer' 'sdl2_net') makedepends=('python') optdepends=('freedm: Free deathmatch game' 'freedoom1: Free Ultimate Doom-compatible game' 'freedoom2: Free Doom II-compatible game') install=crispy-doom.install source=(https://github.com/fabiangreffrath/$pkgname/archive/$pkgname-$pkgver.tar.gz) sha512sums=('a452a112d445184cd3c40c0dfc7955832d6b5553903fe0add65283c85b41e01d03c89b93d71f30bb0bdc8b89c80e3800da748c6088a29675402f86c079cadf2b') prepare() { cd "$pkgname-$pkgname-$pkgver" for patch in ../*.patch; do if [ ! -f "$patch" ]; then break; else patch -p1 -i "$patch" fi done } build() { cd "$pkgname-$pkgname-$pkgver" ./autogen.sh --prefix=/usr make } package() { cd "$pkgname-$pkgname-$pkgver" make DESTDIR="$pkgdir" install cd "$pkgdir"/usr rm -rf share/man/man5/default.cfg.5 \ share/man/man6/chocolate-{server,setup}.6 }