PKGBUILDs/extra/foobillard/PKGBUILD

24 lines
746 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $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
}