summaryrefslogtreecommitdiff
path: root/community/clanlib/PKGBUILD
blob: 2da9f9d7edada8506cad913e7131f105dfddea59 (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
# $Id: PKGBUILD 99713 2013-10-30 23:11:42Z allan $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>

pkgname=clanlib
pkgver=3.0.0
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' 'sdl_gfx' 'freetype2' 'pcre' 'sqlite' 'libgl')
makedepends=('doxygen' 'graphviz' 'mesa')
source=(clanlib-${pkgver}.tar.gz::https://github.com/sphair/ClanLib/archive/3.0.0.tar.gz)
md5sums=('bfbfd7cc89be12f02c3994d4fcdd49f3')

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

  ./autogen.sh
	./configure --prefix=/usr

	make
	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: