desktop/cegui-0.7/PKGBUILD

45 lines
1.3 KiB
Bash
Raw Normal View History

2011-01-24 02:30:52 +08:00
# Maintainer: Giuseppe Calà <jiveaxe@gmail.com>
pkgname=cegui-0.7
2011-01-24 02:30:52 +08:00
_pkgname=CEGUI
pkgver=0.7.9
2014-03-28 22:40:47 +08:00
pkgrel=2
2011-01-24 02:30:52 +08:00
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines."
2014-03-28 22:40:47 +08:00
arch=('x86_64')
url="http://crayzedsgui.sourceforge.net"
license=("MIT")
depends=('boost-libs' 'devil' 'expat' 'freeglut' 'freetype2' 'glew' 'irrlicht' 'libxml2' 'lua' 'ogre' 'pcre' 'python2' 'silly' 'toluapp')
makedepends=('boost' 'doxygen' 'graphviz')
provides=('cegui')
replaces=('cegui')
conflicts=('cegui')
options=(!libtool)
source=("http://downloads.sourceforge.net/crayzedsgui/${_pkgname}-${pkgver}.tar.gz")
md5sums=('a8b682daf82e383edc169c2e6eb2b321')
2012-07-11 05:02:12 +08:00
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
2012-11-11 03:45:07 +08:00
# Typo fixed in Irrlicht 1.8.0, whereas CEGUI 0.7.7 was based on Irrlicht 1.7.x.
# sed -e "s#texureBlend#textureBlend#" -i cegui/src/RendererModules/Irrlicht/CEGUIIrrlichtGeometryBuffer.cpp
2011-10-17 09:23:29 +08:00
./bootstrap
./configure \
--enable-null-renderer \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
2011-10-17 09:23:29 +08:00
make DESTDIR="${pkgdir}" install
# Documentation.
cd doc/doxygen && doxygen
cd .. && make DESTDIR=${pkgdir} install-html
# License.
install -D -m644 "${srcdir}/${_pkgname}-${pkgver}/doc/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}