diff options
author | root <root@rshg047.dnsready.net> | 2011-05-13 22:36:49 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-13 22:36:49 +0000 |
commit | 2c4629f613c001fd29740d0f4c0e497c771a2182 (patch) | |
tree | ddc90e9111a5137677fd53e503992fd12a661ac0 /extra/gnugo | |
parent | 1982ae8d63ab142a2a16bdf1b055110d9c9f40fd (diff) |
Fri May 13 22:36:49 UTC 2011
Diffstat (limited to 'extra/gnugo')
-rw-r--r-- | extra/gnugo/PKGBUILD | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/extra/gnugo/PKGBUILD b/extra/gnugo/PKGBUILD index e959d7bf8..8d0c654ea 100644 --- a/extra/gnugo/PKGBUILD +++ b/extra/gnugo/PKGBUILD @@ -1,26 +1,33 @@ -# $Id: PKGBUILD 27575 2009-02-23 03:41:08Z eric $ -# Maintainer: Jason Chu <jason@archlinux.org> +# $Id: PKGBUILD 123739 2011-05-12 20:48:23Z andrea $ +# Maintainer: +# Contributor: Jason Chu <jason@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> -# Commiter: damir <damir@archlinux.org> +# Contributor: damir <damir@archlinux.org> pkgname=gnugo pkgver=3.8 -pkgrel=1 -pkgdesc="This sofware is a program that plays the game of Go" +pkgrel=2 +pkgdesc="A program that plays the game of Go" arch=('i686' 'x86_64') url="http://www.gnu.org/software/gnugo/" license=('GPL3' 'custom') depends=('ncurses' 'glibc' 'texinfo') install=gnugo.install -source=(http://ftp.gnu.org/gnu/gnugo/$pkgname-$pkgver.tar.gz LICENSE) -md5sums=('6db0a528df58876d2b0ef1659c374a9a' '4df5819356804397c553c95ea8164f11') +source=("http://ftp.gnu.org/gnu/gnugo/$pkgname-$pkgver.tar.gz" + 'LICENSE') +md5sums=('6db0a528df58876d2b0ef1659c374a9a' + '4df5819356804397c553c95ea8164f11') build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR=$pkgdir install || return 1 - rm -r ${pkgdir}/usr/share/info/dir - gzip ${pkgdir}/usr/share/info/* - install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + cd "${srcdir}"/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install + rm -r "${pkgdir}"/usr/share/info/dir + gzip "${pkgdir}"/usr/share/info/* + install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE } |