PKGBUILDs/extra/foobillard/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
746 B
Bash

# $Id: PKGBUILD 18811 2008-11-09 11:08:53Z jgc $
# Maintainer: dale <dale@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=foobillard
pkgver=3.0a
pkgrel=3
pkgdesc="An OpenGL billiard game for Linux"
arch=('i686' 'x86_64')
depends=('sdl' 'freetype2' 'libpng' 'libxaw' 'mesa' 'libxi')
url="http://foobillard.sunsite.dk/"
source=(http://foobillard.sunsite.dk/dnl/$pkgname-$pkgver.tar.gz)
license=('GPL2')
md5sums=('c2d92edeaaf8bfb18aa26f1c79931b7d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
# fix startup bug in youregon.ttf and freetype2
sed -i -e 's/youregon.ttf/bluebold.ttf/g' src/options.h || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}