updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / netris / PKGBUILD
blob0c54688bb57dfd8f356d105101bfc640bfad784a
2 # Contributor: arjan <arjan@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 # Contributor: Ćukasz Fidosz <virhilo@gmail.com>
5 # Maintainer: J. W. Birdsong  <jwbirdsong AT gmail DOT com>
7 pkgname=netris
8 pkgver=0.52
9 pkgrel=6
10 pkgdesc="This is an unfinished developmental version of Netris, a free networked version of T*tris"
11 arch=('i686' 'x86_64')
12 url="http://www.netris.org/"
13 license=('GPL')
14 depends=('ncurses')
15 source=(ftp://ftp.netris.org/pub/netris/$pkgname-$pkgver.tar.gz
16         01_multi-games-with-scoring.patch
17         02_line-count-patch.patch
18         03_staircase-effect-fix.patch
19         04_robot-close-fixup.patch
20         05_init-static-vars.patch
21         06_curses.c-include-term.h.patch
22         07_curses.c-include-time.h.patch
23         08_various-fixes.patch)
25 md5sums=('b55af5697175ee06f7c6e40101979c38'
26         '7959a9d84a8f396cb1e751be66e54832'
27         '65dcd6153cd80b5855eed19f7bc1fa12'
28         '6eb7f804b821e5ca652d6ebe5f2f1d24'
29         '265778ed08c9096f3f913fc411e5aa67'
30         'dded6337946a878a1d29e3cc549bec3b'
31         'ad2b0c0d298a24315423bd21851ab9d8'
32         '32447539b9fcf13d33abf50d21833c8a'
33         'ff2ecb51acebd5b89ec1e56c6d4e3e23')
35 build() {
36 cd ${srcdir}/${pkgname}-${pkgver}
37 for i in ${srcdir}/*.patch 
39         patch -p1 < "$i"
40 done
41 ./Configure  
42 make 
43 #make DESTDIR=${pkgdir} install
44 install -dm 755  ${pkgdir}/usr/bin
45 cp netris ${pkgdir}/usr/bin