summaryrefslogtreecommitdiff
path: root/community/guichan/PKGBUILD
blob: 4c7c841d39ba108090b18f86c74a7395cb16e0bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 99805 2013-10-30 23:49:55Z allan $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Bjørn Lindeijer <bjorn@lindeijer.nl>

pkgname=guichan
pkgver=0.8.2
pkgrel=3
pkgdesc="A portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL."
arch=('i686' 'x86_64' 'mips64el')
url="http://guichan.sourceforge.net/"
license=('BSD')
makedepends=('sdl_image' 'allegro4' 'libgl' 'glut')
options=('!strip')
source=(http://guichan.googlecode.com/files/$pkgname-$pkgver.tar.gz)
sha256sums=('eedf206eae5201eaae027b133226d0793ab9a287bfd74c5f82c7681e3684eeab')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  CXXFLAGS="-g" ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver
  
  make prefix=${pkgdir}/usr install

# Install the license, as required for BSD
  install -m644 -D COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}