summaryrefslogtreecommitdiff
path: root/pcr/prboom-plus/PKGBUILD
blob: e0555f122345bcac11b0a53f7b57370a59f42ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer (AUR): Kingan <kingan201 at gmail dot com>
# Contributor (AUR): Frederic Bezies <fredbezies at gmail dot com>
# Contributor (AUR): Valsu [arch(at)hylia.de]

pkgname=prboom-plus
pkgver=2.5.1.4
pkgrel=1
pkgdesc='An advanced, Vanilla-compatible Doom engine based on PrBoom'
url='http://prboom-plus.sourceforge.net/'
arch=('x86_64' 'i686')
arch+=('armv7h')
license=('GPL2')
depends=('fluidsynth' 'glu' 'libmad' 'portmidi' 'sdl_image' 'sdl_mixer' 'sdl_net')
conflicts=('prboom')
replaces=('prboom')
provides=('prboom')
source=("http://download.sourceforge.net/prboom-plus/prboom-plus-$pkgver.tar.gz")
sha256sums=('e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94')

build() {
  cd "prboom-plus-$pkgver"

  ./configure --prefix=/usr --without-dumb
  make
}

package() {
  cd "prboom-plus-$pkgver"

  make DESTDIR="$pkgdir" gamesdir=/usr/bin install
}