mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
26 lines
992 B
Bash
26 lines
992 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Mateusz Herych <heniekk@gmail.com>
|
|
# Contributor: Bjørn Lindeijer <bjorn@lindeijer.nl>
|
|
pkgname=guichan
|
|
pkgver=0.8.1
|
|
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=('f9ace11cc70d3ba60b62347172334a5f')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
CXXFLAGS="-g" ./configure --prefix=/usr
|
|
make || return 1
|
|
make prefix=$startdir/pkg/usr install
|
|
|
|
# Install the license, as required for BSD
|
|
install -m644 -D COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
|
|
}
|