desktop/pink-pony/PKGBUILD
2015-08-09 13:54:58 +02:00

36 lines
1.1 KiB
Bash

# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=pink-pony
pkgver=1.4.1
pkgrel=3
pkgdesc="Tron-like multiplayer racing game with ponies."
arch=(x86_64)
url="http://code.google.com/p/pink-pony/"
license=('GPL3')
depends=('glfw2' 'ilmbase' 'devil' 'libxrandr' 'protobuf' 'audiere' 'ftgl' 'libsigc++2.0' 'sdl_mixer')
makedepends=('scons')
categories=('games')
screenshot=('http://web.student.tuwien.ac.at/~e0526341/div/pony2.jpeg')
source=(http://pink-pony.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('9d19c777b1effe95818813290932e157')
build() {
cd $srcdir/$pkgname-$pkgver
scons
}
package() {
cd $srcdir/$pkgname-$pkgver
mkdir -p $pkgdir/usr/share/$pkgname/resources
cp -R resources/* $pkgdir/usr/share/$pkgname/resources
install -Dm 755 install/pink-pony $pkgdir/usr/bin/pink-pony
install -Dm 755 Pony $pkgdir/usr/lib/Pony
install -Dm 644 pony.options $pkgdir/etc/pony.options
install -Dm 644 install/pink-pony.png $pkgdir/usr/share/pixmaps/pink-pony.png
install -Dm 644 install/pink-pony.desktop $pkgdir/usr/share/applications/pink-pony.desktop
}