mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
24 lines
759 B
Bash
24 lines
759 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: Jacek Poplawski <jacekpoplawski@gmail.com>
|
||
|
|
||
|
pkgname=carworld
|
||
|
pkgver=0.243
|
||
|
pkgrel=2
|
||
|
pkgdesc="driving simulator with physics"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://carworld.sourceforge.net/"
|
||
|
license=('GPL')
|
||
|
depends=(sdl mesa libgl)
|
||
|
source=(http://downloads.sourceforge.net/sourceforge/carworld/carworld-$pkgver.tar.gz)
|
||
|
md5sums=('71da33a8488f147aeb3ed6a8e54317a6')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/$pkgname-$pkgver
|
||
|
make || return 1
|
||
|
install -d $startdir/pkg/usr/bin && \
|
||
|
install -d $startdir/pkg/usr/share/carworld/data && \
|
||
|
install -m 755 -o 0 -g 0 carworld $startdir/pkg/usr/bin && \
|
||
|
cp -r data/* $startdir/pkg/usr/share/carworld/data
|
||
|
}
|