summaryrefslogtreecommitdiff
path: root/community/clanlib/PKGBUILD
blob: 4e6e36b1f07c2bf5cbb81db103a8d2f7ff1167d9 (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
32
33
34
35
36
37
# $Id: PKGBUILD 44605 2011-04-09 12:36:14Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>

pkgname=clanlib
pkgver=2.2.8
pkgrel=1
pkgdesc="A multi-platform game development library."
arch=('i686' 'x86_64')
url="http://clanlib.org/"
license=('zlib')
depends=('alsa-lib' 'libjpeg' 'libmikmod' 'libpng' 'libvorbis' 'libxi' 'libxmu' 'mesa' 'sdl_gfx' 'freetype2')
makedepends=('doxygen' 'graphviz')
options=('!libtool')
source=(http://clanlib.org/download/releases-2.0/ClanLib-${pkgver}.tgz)
md5sums=('b4184ea1535bbda52c2eea7523f332e4')

build() { 
	cd ${srcdir}/ClanLib-${pkgver}

	./configure --prefix=/usr --enable-docs

	make
  # Somehow this breaks. :(
	#make html
}

package() {
	cd ${srcdir}/ClanLib-${pkgver}

	make DESTDIR=${pkgdir} install
	#make DESTDIR=${pkgdir} install-html

	install -d ${pkgdir}/usr/share/licenses/${pkgname}
	install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
}

# vim: sw=2:ts=2 et: