Permalink
Browse files

Version bump for games-roguelike/crawl.

  • Loading branch information...
1 parent 1409c99 commit b72eff58e489dd7fdd3c657ccf13502adbd67238 @joshuar committed Jun 16, 2012
Showing with 88 additions and 0 deletions.
  1. +2 −0 games-roguelike/crawl/Manifest
  2. +86 −0 games-roguelike/crawl/crawl-0.10.3.ebuild
@@ -4,6 +4,7 @@ AUX crawl-wrapper 94 RMD160 256e23f775070c91b689373dc846b5041bfe846a SHA1 502f98
AUX crawl.png 1161 RMD160 d645b26739feeabf288c9f6ad4dd0d96b586312b SHA1 8b879e0a0b5d8c227adee12a601839fd415852a0 SHA256 73d778e14cdf7d0c5aea3c37f1bdadf3236358f3fe3f475cd39eb0c9168753b5
DIST stone_soup-0.10.1-nodeps.tar.xz 6482536 RMD160 81e0bfee4a78d2df36eb6133dc5eda353607274d SHA1 fb1d3daac999dc2465d72b3bd08cd05f71c981a2 SHA256 face266948e0787e0b2a483d4a4a4c80e159dd5d4a8577bd99b4f15d609f680f
DIST stone_soup-0.10.2-nodeps.tar.xz 6486456 RMD160 83c17db0cf3effe26e1040cf81c17bd6d762f2f2 SHA1 ac142d8a07e3dce666ca4831837950e5f3475671 SHA256 d5af628ea6ab402a91a0579aed45650ac6e294acf60bebee60b783fbf9039a49
+DIST stone_soup-0.10.3-nodeps.tar.xz 6486324 RMD160 ccb4406e3a645128388e76b616680f81769f58b7 SHA1 bd9d7d8c195ad964d8f32fb527cfd75662e0ffc3 SHA256 c61801030486bb7020992d95573fb9378e80355c400b82cfa0f476dbd823c4a2
DIST stone_soup-0.5.1-src.tbz2 4758603 RMD160 75c50b4ec77c21bec12e3f89989b3d9217846005 SHA1 789fc51395c001d72d5ea84cc0405a59df1f739e SHA256 156b8766ca39f7446d0a0846c178e3c178050eaf1627fbb9f828f659d13f853e
DIST stone_soup-0.5.2-src.tbz2 4683454 RMD160 1ae5a716363a85c8c68d1cdefdc68dba7e0277e4 SHA1 5854568b68bd0ee97881377d4d14af8ab5a2920d SHA256 e943892da5da28cff9dc4117480d6fe48d25c03cb600696426ca9178aa2ae7c8
DIST stone_soup-0.6.0-nodeps.tar.bz2 4597191 RMD160 db1fdac2fae1806afa66d8433f19bd8ff4f3a584 SHA1 44cdffd7376c4e79cc0a52951cfa3512264ce4dd SHA256 f05ba17b64f3f669da3fb4185ed2e1425bd6a2fa8375fa4671807c67b2e4f8ff
@@ -15,6 +16,7 @@ DIST stone_soup-0.9.1-nodeps.tar.bz2 6540169 RMD160 803bc1dae82110ad5b7d2c068da7
DIST stone_soup-0.9.2-nodeps.tar.bz2 6540418 RMD160 c3d4c066e66a304c50e17881fa92f9ce8e8e5ebf SHA1 a868517710863d2edccfd1ed9501f380ff47532e SHA256 7854a7d2f9e073fa7e3f8a55d65fac460596e31316b7817ca3864f43199866ce
EBUILD crawl-0.10.1.ebuild 2056 RMD160 0a922b9165637cfbcb6e4923fead2f23813b0680 SHA1 1ec74fc609749498395c79908e61c58821d79e08 SHA256 d3a8da85c9d6a9f35c2b95f4bb66fb45aa0cef3c4d2b90c9bbdd6a3f4b535d19
EBUILD crawl-0.10.2.ebuild 2093 RMD160 b07af27e5529c1063b324f536eb7105d5a1d38fb SHA1 072a59820b80b9fa005e5b81cc9eba906727b9d1 SHA256 8938ab41541b9998c4e669f10df3a24e4db90779371ee5b76822d33e93a40f6c
+EBUILD crawl-0.10.3.ebuild 2093 RMD160 b07af27e5529c1063b324f536eb7105d5a1d38fb SHA1 072a59820b80b9fa005e5b81cc9eba906727b9d1 SHA256 8938ab41541b9998c4e669f10df3a24e4db90779371ee5b76822d33e93a40f6c
EBUILD crawl-0.5.1-r2.ebuild 3219 RMD160 aaf8e06d6e55acbfd90b835f361641b13ea6d699 SHA1 ede58e4d575886e6370fc715c637c294329cc9c9 SHA256 333efbc27a5ea2736437576a2f20f3bbaa8c31c093c30acec0472e8dd1b88469
EBUILD crawl-0.5.2.ebuild 3413 RMD160 db32f244e2a12d0e88b72371394e403aa26e05d2 SHA1 ec636f4d997e054f3b0791bc15135f1b7cad9dc7 SHA256 13ae82470f0d9a71eb64b4a70b57e2d64cabd1d000407d185e6221d1bb568b48
EBUILD crawl-0.6.0-r1.ebuild 1804 RMD160 f6f556484c17a9b2fdee4edde76fd24974540000 SHA1 6741616cee9ba732cd8302461640d4cf3397c29f SHA256 293369c5df556de57943b9ec4074c657f79958bb4d1d95ffafbf7f4dc829d34d
@@ -0,0 +1,86 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit games toolchain-funcs
+
+DESCRIPTION="Explore dungeons filled with dangerous monsters in a quest for the Orb of Zot."
+HOMEPAGE="http://crawl.develz.org/wordpress/"
+MY_PN="stone_soup"
+MY_P=${MY_PN}-${PV}
+SRC_URI="mirror://sourceforge/crawl-ref/${MY_P}-nodeps.tar.xz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug sound +tiles wizard"
+
+S="${WORKDIR}/${MY_P}"
+
+DEPEND="sys-libs/ncurses[unicode]
+ sys-devel/bison
+ sys-devel/flex
+ dev-libs/libpcre[cxx]
+ dev-lang/lua
+ dev-db/sqlite:3
+ tiles? ( dev-util/pkgconfig
+ media-libs/libpng
+ media-libs/sdl-image[png]
+ media-libs/freetype:2 )"
+RDEPEND="${DEPEND}
+ app-arch/zip
+ app-arch/unzip
+ sound? ( media-sound/sox )"
+
+pkg_setup() {
+ use tiles && export TILES=1
+ use debug && export V=1
+ use wizard || export NOWIZARD=1
+ export prefix=${GAMES_PREFIX}
+ export bin_prefix=${GAMES_PREFIX}/bin
+ export DATADIR=${GAMES_PREFIX}/${PN}
+ export SAVEDIR='~/.config/crawl'
+ export SHAREDIR=${GAMES_STATEDIR}/${PN}
+ games_pkg_setup
+}
+
+src_prepare() {
+ cd ${S}*
+ sed -i -e "s|^AR =.*|AR = $(tc-getAR)|" \
+ -e "s|^RANLIB =.*|RANLIB = $(tc-getRANLIB)|" \
+ -e "s|^CC =.*|CC = $(tc-getCC)|" \
+ -e "s|^CXX =.*|CXX = $(tc-getCXX)|" \
+ -e "s|-O2|${CFLAGS}|g" \
+ -e 's|LDFLAGS += $(CFOPTIMIZE) $(CFOPTIMIZE_L)|LDFLAGS += $(CFOPTIMIZE) '"${LDFLAGS}"'|' \
+ -e "s|^INSTALL_UGRP :=.*|INSTALL_UGRP := ${GAMES_USER}:${GAMES_GROUP}|" \
+ source/Makefile \
+ || die "sed Makefile failed."
+}
+
+src_compile() {
+ cd ${S}*/source
+ emake || die "make failed."
+}
+
+src_install() {
+ cd ${S}*
+ dodoc README.* CREDITS.txt docs/*.{txt,pdf,html}
+ doman docs/crawl.6
+ if use tiles; then
+ newicon source/dat/tiles/stone_soup_icon-512x512.png "${PN}.png"
+ make_desktop_entry ${PN} "Dungeon Crawl Stone Soup" ${PN}
+ fi
+ cd ${S}*/source
+ emake DESTDIR=${D} install \
+ || die "make install failed."
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ if ! use tiles; then
+ echo
+ elog "You need a UTF-8 locale to play crawl."
+ echo
+ fi
+}

0 comments on commit b72eff5

Please sign in to comment.