summaryrefslogtreecommitdiff
path: root/community/guichan
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/guichan
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/guichan')
-rw-r--r--community/guichan/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/guichan/PKGBUILD b/community/guichan/PKGBUILD
new file mode 100644
index 000000000..eee1aa7d5
--- /dev/null
+++ b/community/guichan/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 4400 2009-10-22 15:03:46Z ibiru $
+# Maintainer: Mateusz Herych <heniekk@gmail.com>
+# Contributor: Bjørn Lindeijer <bjorn@lindeijer.nl>
+pkgname=guichan
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="Guichan is a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL."
+arch=('i686' 'x86_64')
+url="http://guichan.sourceforge.net/"
+license=('BSD')
+makedepends=('sdl_image' 'allegro' 'libgl' 'glut')
+conflicts=('guichan-sdl' 'guichan-allegro' 'guichan-opengl' 'guichan-glut')
+provides=('guichan-sdl' 'guichan-allegro' 'guichan-opengl' 'guichan-glut')
+options=(!libtool !strip)
+source=(http://guichan.googlecode.com/files/$pkgname-$pkgver.tar.gz)
+md5sums=('af535d7f387e774e3197cef8023ea105')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ CXXFLAGS="-g" ./configure --prefix=/usr
+ make || return 1
+ make prefix=$pkgdir/usr install
+
+ # Install the license, as required for BSD
+ install -m644 -D COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
+}