mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=cegui
|
|
_pkgname=CEGUI
|
|
pkgver=0.7.7
|
|
pkgrel=1
|
|
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines."
|
|
arch=('i686' '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')
|
|
options=(!libtool)
|
|
source=("http://downloads.sourceforge.net/crayzedsgui/${_pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('8b83577f86eaa1581765dd155c7c8f24')
|
|
|
|
build() {
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
|
|
|
./bootstrap
|
|
./configure \
|
|
--enable-null-renderer \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
|
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"
|
|
}
|