PKGBUILDs/community/slimevolley/PKGBUILD

23 lines
806 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Geoffroy Carrier <gcarrier@aur.archlinux.org>
# Contributor: Joel Schaerer <joel.schaerer@laposte.net>
pkgname=slimevolley
pkgver=2.4.1
pkgrel=4
pkgdesc="A simple yet fun arcade volley game"
arch=('i686' 'x86_64')
url="http://slime.tuxfamily.org/index.php"
license=('GPL')
depends=('sdl_net' 'sdl_ttf' 'sdl_image')
makedepends=('cmake')
source=("http://downloads.tuxfamily.org/slime/debian/dists/stable/main/source/${pkgname}_${pkgver}.tar.gz")
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX:FILEPATH=/usr . || return 1
make || return 1
make DESTDIR="$pkgdir/" install
install -d "$pkgdir"/usr/bin
mv "$pkgdir"/usr/games/slimevolley "$pkgdir"/usr/bin/slimevolley
}
md5sums=('59e570b4442c9a3eec3827f850185456')