Date: Monday, January 18, 2010 @ 20:01:11 Author: eric Revision: 63897
upgpkg: glhack 1.2-4 Rebuilt against libpng 1.4/libjpeg 8, Fixed man page conflict with nethack (close FS#17226) Modified: glhack/trunk/ChangeLog glhack/trunk/PKGBUILD -----------+ ChangeLog | 6 ++++++ PKGBUILD | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) Modified: ChangeLog =================================================================== --- ChangeLog 2010-01-19 00:59:51 UTC (rev 63896) +++ ChangeLog 2010-01-19 01:01:11 UTC (rev 63897) @@ -1,3 +1,9 @@ +2010-01-18 Eric Belanger <e...@archlinux.org> + + * glhack 1.2-4 + * Rebuilt for libpng 1.4 and libjpeg 8 + * Fixed man page conflict with nethack (close FS#17226) + 2009-06-29 Eric Belanger <e...@archlinux.org> * glhack 1.2-3 Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-01-19 00:59:51 UTC (rev 63896) +++ PKGBUILD 2010-01-19 01:01:11 UTC (rev 63897) @@ -4,7 +4,7 @@ pkgname=glhack pkgver=1.2 -pkgrel=3 +pkgrel=4 pkgdesc="A port of Nethack, a single player dungeon exploration game in 2D" arch=('i686' 'x86_64') url="http://glhack.sourceforge.net/" @@ -14,6 +14,7 @@ install=glhack.install source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('b4c68e3ab689610ca638b7660c1b05bd') +sha1sums=('7dc46e6bd4a3c2ec10ab4d314acfbb30cefc6eae') build(){ cd "${srcdir}/${pkgname}-${pkgver}" @@ -30,6 +31,13 @@ make DESTDIR="$pkgdir" install || return 1 install -D -m644 dat/license "${pkgdir}/usr/share/licenses/${pkgname}/license" +# Renaming man pages which conflicts with nethack + cd "${pkgdir}/usr/share/man/man6" + for manpage in dgn_comp dlb lev_comp nethack recover; do + mv $manpage.6 $manpage-glhack.6 + done + cd "${srcdir}/${pkgname}-${pkgver}" + mv "${pkgdir}/usr/share/glhack/glhack" "${pkgdir}/usr/bin/glhack" mv "${pkgdir}/usr/share/glhack/recover_glhack" "${pkgdir}/usr/bin/recover_glhack"