summaryrefslogtreecommitdiff
path: root/community/cegui/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cegui/PKGBUILD')
-rw-r--r--community/cegui/PKGBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/community/cegui/PKGBUILD b/community/cegui/PKGBUILD
index f05f0f169..29ef0d959 100644
--- a/community/cegui/PKGBUILD
+++ b/community/cegui/PKGBUILD
@@ -1,12 +1,13 @@
-# $Id: PKGBUILD 78921 2012-10-27 23:43:46Z ebelanger $
+# $Id: PKGBUILD 79010 2012-10-29 03:17:07Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>,
# Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl>
-pkgname=cegui
+pkgbase=cegui
+pkgname=('cegui' 'cegui-docs')
pkgver=0.7.7
-pkgrel=2
+pkgrel=3
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
arch=('i686' 'x86_64')
url="http://crayzedsgui.sourceforge.net"
@@ -34,14 +35,20 @@ build() {
make
}
-package() {
+package_cegui() {
cd $srcdir/CEGUI-${pkgver}
make DESTDIR=${pkgdir} install
+ install -Dm644 doc/COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_cegui-docs() {
+ pkgdesc="Documentation for cegui"
+ depends=()
+
+ cd $srcdir/CEGUI-${pkgver}
+
cd doc/doxygen && doxygen
cd .. && make DESTDIR=${pkgdir} install-html
-
- install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}
-