updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / spong / PKGBUILD
blobb41b1d4167e8ba7ad0ee866b37f3e2ac062042fe
1 # Contributor: Loui Chang <louipc dot ist at gmail company>
3 pkgname=spong
4 pkgver=0.0.1
5 pkgrel=1
6 pkgdesc="A rudimentary version of the old pong game."
7 url="http://louipc.mine.nu/spong"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 source=(http://louipc.mine.nu/spong/files/spong-0.0.1.tar.gz
11 http://louipc.mine.nu/spong/files/001-spong-0.0.1-Change-image-path.patch)
12 md5sums=('e43f51feb7d4fdb4cd0b435667bfb215'
13          'd3125533b2cd35dfa1ad375cd6c23b95')
15 build() {
16         cd $srcdir/$pkgname-$pkgver
17         patch -p1 < ../001-spong-0.0.1-Change-image-path.patch
18         make || return
19         install -D -m755 spong $pkgdir/usr/bin/spong
20         install -d $pkgdir/usr/share/spong/img
21         install -D -m644 img/* $pkgdir/usr/share/spong/img
22         install -D -m644 README $pkgdir/usr/share/spong/