mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-util/hearse: Clean hearse which has been masked for years. (bug #541272)
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST hearse-1.5.tar.gz 29202 SHA256 2f339bef82cb416a818ed458e4b1e8b0ccbb1d6abf8e33a99b5d7fdffec7fb12 SHA512 70a477f095059e6e65aef58da93a3928b9c8b7fd72793bb14505e01b00cb37d799e5c2a0ce5c87db3bf61bebdd5f6aec4fbe1b64a63dac67ff00df5842332a55 WHIRLPOOL b2dff1cab6146cedba0712333584199edc715178342fb5487142bf4b34b2eec21702a5d71480b2aafc947e057bb5950192e0873e12db6cbb38f87911ebeec7eb
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit games
|
||||
|
||||
DESCRIPTION="exchange Nethack bones files with other players"
|
||||
HOMEPAGE="http://www.argon.org/~roderick/hearse/"
|
||||
SRC_URI="http://www.argon.org/~roderick/hearse/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/perl-5.8.0
|
||||
dev-perl/libwww-perl
|
||||
app-arch/bzip2"
|
||||
RDEPEND=">=games-roguelike/nethack-3.4.1
|
||||
${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# patch because Gentoo's nethack ebuild
|
||||
# uses bz2 and not gz for bones.
|
||||
sed -i \
|
||||
-e "s:gzip :bzip2 :" \
|
||||
-e "s:.gz:.bz2:" hearse || die
|
||||
sed -i \
|
||||
-e 's:gzip :bzip2 :' \
|
||||
-e "s:gz|z|Z:bz2:" bones-info || die
|
||||
}
|
||||
src_configure() {
|
||||
perl Makefile.PL || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin hearse bones-info
|
||||
doman blib/man1/*.1
|
||||
dodoc Notes README debian/changelog
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
einfo "As root, run \"${GAMES_BINDIR}/hearse --user-email your@address.com\" to activate."
|
||||
einfo "Add the following to /etc/crontab to automatically exchange bones:"
|
||||
einfo " 0 3 * * * root perl -we 'sleep rand 3600'; ${GAMES_BINDIR}/hearse --quiet"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user