Date: Sunday, February 5, 2012 @ 11:47:20 Author: bisson Revision: 149076
signed rebuild for free Modified: gnugo/trunk/PKGBUILD Deleted: gnugo/trunk/gnugo.install ---------------+ PKGBUILD | 34 ++++++++++++++++------------------ gnugo.install | 18 ------------------ 2 files changed, 16 insertions(+), 36 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-02-05 16:45:57 UTC (rev 149075) +++ PKGBUILD 2012-02-05 16:47:20 UTC (rev 149076) @@ -1,33 +1,31 @@ # $Id$ -# Maintainer: +# Maintainer: Gaetan Bisson <bis...@archlinux.org> # Contributor: Jason Chu <ja...@archlinux.org> # Contributor: Tom Newsom <jeeps...@gmx.co.uk> # Contributor: damir <da...@archlinux.org> pkgname=gnugo pkgver=3.8 -pkgrel=2 -pkgdesc="A program that plays the game of Go" +pkgrel=3 +pkgdesc='Program that plays the game of Go' +url='http://www.gnu.org/software/gnugo/' +license=('GPL3' 'custom') 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" +depends=('ncurses') +source=("http://ftp.gnu.org/gnu/gnugo/${pkgname}-${pkgver}.tar.gz" 'LICENSE') -md5sums=('6db0a528df58876d2b0ef1659c374a9a' - '4df5819356804397c553c95ea8164f11') +sha1sums=('a8ce3c7512634f789bc0c964fe23a5a6209f25db' + '0221b29e03fe7356c131429631ad0ac3c8da04d6') build() { - cd "${srcdir}"/$pkgname-$pkgver - ./configure --prefix=/usr - make + 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 + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -r "${pkgdir}"/usr/share/info + install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE } Deleted: gnugo.install =================================================================== --- gnugo.install 2012-02-05 16:45:57 UTC (rev 149075) +++ gnugo.install 2012-02-05 16:47:20 UTC (rev 149076) @@ -1,18 +0,0 @@ -infodir=/usr/share/info -filelist=(gnugo.info.gz gnugo.info-1.gz gnugo.info-2.gz gnugo.info-3.gz) - -post_install() { - for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -}