updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / pong2 / PKGBUILD
blobd4aeaee23f08406e3c8fbab3d369554ceeadf605
1 # Maintainer: Johannes Jordan (fopref) <fopref@lanrules.de>
2 # Contributor: Alexander Mieland (dma147) <dma147@linux-stats.org>
4 pkgname=pong2
5 pkgver=0.1.3
6 pkgrel=2
7 pkgdesc="Networked, 3D clone of pong"
8 url="http://pong2.berlios.de/"
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 depends=('libgl' 'openssl' 'sdl_image')
12 source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz \
13         pong2.desktop)
14 url="http://pong2.berlios.de/"
15 md5sums=('3c09cbcefcfdaa00af1a76c49572626c' '28167ea1175ffcf297583c29f7df66a1')
16 build() {
17   cd $startdir/src/$pkgname-$pkgver
18   ./configure --prefix=/usr
19   make || return 1
20   make prefix=$startdir/pkg/usr install
21   install -D -m644 $startdir/src/$pkgname-$pkgver/icon.png $startdir/pkg/usr/share/pixmaps/pong2.png
22   install -D -m644 $startdir/pong2.desktop $startdir/pkg/usr/share/applications/Pong2.desktop