community/nethack: upgrade to 3.6.2

This commit is contained in:
Drew DeVault 2019-08-20 15:36:38 +09:00 committed by Leo
parent 0fbeb40cfa
commit b08dcfefdc

View File

@ -1,7 +1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
# Based on the Arch Linux package
pkgname=nethack
pkgver=3.6.1
pkgver=3.6.2
pkgrel=0
pkgdesc="A single player dungeon exploration game"
url="https://www.nethack.org/index.html"
@ -17,6 +17,8 @@ prepare() {
cd "$builddir"
# Fix nonstandard cp usage
sed -e 's/cp -n/cp/g' -i sys/unix/hints/linux
# Fix glibc issue
sed -e 's/#define _GNU_SOURCE//g' -i include/config1.h
# Configuration stuff
sed -e 's|^/\* \(#define LINUX\) \*/|\1|' \
-e 's|^/\* \(#define TIMED_DELAY\) \*/|\1|' \
@ -71,4 +73,4 @@ package() {
install -Dm644 doc/Guidebook.txt $pkgdir/usr/share/doc/nethack/Guidebook.txt
}
sha512sums="bd6e36c163f0d85e1ab1fc659464696b5a02c3864a800ad47e047fdc4a35fff4ef7dd28a9b071fa46f7f67fa45c97fdc77bc1f2bdbad80cc02950d73731d9c30 nethack-361-src.tgz"
sha512sums="e865f21298ffdf67301b5b6ca91f2e762011cc35b55f80603fff014b48f9724d67671168a898abb2171879906a65564d8eb59d272bb5a9f8bf957f074e3c105e nethack-362-src.tgz"