1 # Contributor: zoulnix <http://goo.gl/HQaP>
5 pkgdesc="Graphics Library Interface Creation Toolkit (GLICT)."
7 url="http://glict.sourceforge.net/"
10 makedepends=('gcc' 'make')
11 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
12 md5sums=('f62493d305feffe8cc5d7011c05c9763')
15 cd ${srcdir}/${pkgname}-${pkgver}/GLICT
17 # gcc 4.4 fix, too lazy for patch...
18 sed -i -e '/<string.h>/ a\#include <stdio.h>' fonts.cpp || return 1
19 sed -i -e '/globals.h>/ a\#include <stdio.h>' list.cpp || return 1
20 sed -i -e '/types.h>/ a\#include <stdio.h>' progressbar.cpp || return 1
26 cd ${srcdir}/${pkgname}-${pkgver}/GLICT
27 install -d ${pkgdir}/usr/{lib,include/GLICT} || return 1
29 install -m644 *.a ${pkgdir}/usr/lib/ || return 1
30 install -m644 *.h ${pkgdir}/usr/include/GLICT/ || return 1