mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
31 lines
1 KiB
Bash
31 lines
1 KiB
Bash
# $Id: PKGBUILD 35775 2009-04-17 03:29:19Z eric $
|
|
# Maintainer: dale <dale@archlinux.org>
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
|
|
pkgname=pinball
|
|
pkgver=0.3.1
|
|
pkgrel=4
|
|
pkgdesc="The Emilia Pinball Project strives to fulfil your needs for a great pinball game in Linux"
|
|
arch=('i686' 'x86_64')
|
|
url="http://pinball.sourceforge.net/"
|
|
license=('GPL2')
|
|
depends=('sdl' 'sdl_mixer' 'sdl_image' 'mesa')
|
|
options=('!makeflags' 'libtool')
|
|
install=pinball.install
|
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('f28e8f49e0db8e9491e4d9f0c13c36c6')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr --disable-sdltest || return 1
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
|
|
chown root:games $pkgdir/usr/bin/pinball
|
|
chmod 2755 $pkgdir/usr/bin/pinball
|
|
chown root:games $pkgdir/var/games
|
|
chmod 775 $pkgdir/var/games
|
|
chown root:games $pkgdir/var/games/pinball/{professor,tux}
|
|
chmod 775 $pkgdir/var/games/pinball/{professor,tux}
|
|
rm $pkgdir/var/games/pinball/*/highscores
|
|
}
|