updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / zdbsp / PKGBUILD
blob37d1c4b6c23917ad10b65eea193c6da179cf065e
1 # Contributor: Jan Cholasta <grubber@grubber.cz>
2 # Maintainer: Jan Cholasta <grubber@grubber.cz>
4 pkgname=zdbsp
5 pkgver=1.17
6 pkgrel=1
7 pkgdesc="A node builder optimized for ZDoom WADs"
8 arch=('i686' 'x86_64')
9 url="http://www.zdoom.org/"
10 license=('GPL2')
11 depends=('gcc-libs' 'zlib')
12 makedepends=('cmake')
13 source=(http://zdoom.org/files/utils/${pkgname}-${pkgver}-src.zip)
14 noextract=(${pkgname}-${pkgver}-src.zip)
15 md5sums=('3868c13982eac42c9ac49a681946d5ce')
17 build() {
18   cd "$srcdir"
20   unzip -d ${pkgname}-${pkgver} -o -q ${pkgname}-${pkgver}-src.zip || return 1
22   cd ${pkgname}-${pkgver}
24   cmake -DCMAKE_BUILD_TYPE=Release . || return 1
25   make || return 1
28 package() {
29   cd "$srcdir"/${pkgname}-${pkgver}
31   install -m755 -D zdbsp "$pkgdir"/usr/bin/zdbsp