--- /dev/null
+# ChangeLog for games-strategy/knights-demo
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/knights-demo/ChangeLog,v 1.1 2007/04/27 04:47:24 mr_bones_ Exp $
+
+*knights-demo-1.32 (27 Apr 2007)
+
+ 27 Apr 2007; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +knights-demo-1.32.ebuild:
+ initial commit - ebuild submitted by Paul Bredbury via bug #168505
+
--- /dev/null
+DIST knights-demo-1.32.run 31667235 RMD160 560fa39d56659e2856b357ba22b1a5baf54c3219 SHA1 d83b915fbb12b13e314b6951232531f0b62737e7 SHA256 bbdd7a49d710e76ef2de9bc5d9cdfbac3660f4ed2fa785ede08d7422eef995c8
+EBUILD knights-demo-1.32.ebuild 1365 RMD160 245487ab8717fc354d76d1f3ca9209c0e47ead83 SHA1 ddea35d6bd4b0785075d1fc883c5d442255a4804 SHA256 aafa2c01a0484e62e0aa97d9d0c009567978371d9ca7b8f78b26c85fc11522d1
+MD5 65d67a1a0dd0f44df1e6b95998ab0a59 knights-demo-1.32.ebuild 1365
+RMD160 245487ab8717fc354d76d1f3ca9209c0e47ead83 knights-demo-1.32.ebuild 1365
+SHA256 aafa2c01a0484e62e0aa97d9d0c009567978371d9ca7b8f78b26c85fc11522d1 knights-demo-1.32.ebuild 1365
+MISC ChangeLog 433 RMD160 c70677801765816b47338093060cca1f3123887d SHA1 829c02e947bf808ffbc3e4d4d80ffbbfe52458f1 SHA256 cdbfad8458ec36fef0194dd2729feb30de7cdef1d58add843b037981916d57e7
+MD5 710f941d526abf08873ee9850498e5f4 ChangeLog 433
+RMD160 c70677801765816b47338093060cca1f3123887d ChangeLog 433
+SHA256 cdbfad8458ec36fef0194dd2729feb30de7cdef1d58add843b037981916d57e7 ChangeLog 433
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 1e61788324a07f01a4f15ed50e4e8465 files/digest-knights-demo-1.32 250
+RMD160 e0518ae124ad9e6cad8bfd7a47c230a2205ad9d5 files/digest-knights-demo-1.32 250
+SHA256 c5318528e099bc860859cbe45ceb2e5327dcb05d4817a6f7023c2aef0d3c0648 files/digest-knights-demo-1.32 250
--- /dev/null
+MD5 08df17e78244fe172f1a2730be2e98f3 knights-demo-1.32.run 31667235
+RMD160 560fa39d56659e2856b357ba22b1a5baf54c3219 knights-demo-1.32.run 31667235
+SHA256 bbdd7a49d710e76ef2de9bc5d9cdfbac3660f4ed2fa785ede08d7422eef995c8 knights-demo-1.32.run 31667235
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/knights-demo/knights-demo-1.32.ebuild,v 1.1 2007/04/27 04:47:24 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="Anglo-Saxon medieval army battles and resource management"
+HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=knights"
+# Unversioned upstream filename
+SRC_URI="mirror://gentoo/${P}.run"
+
+LICENSE="knights-demo"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+RESTRICT="strip"
+
+RDEPEND="sys-libs/glibc
+ x86? (
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXi )
+ amd64? ( app-emulation/emul-linux-x86-xlibs )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself ${P}.run
+ mv -f data{,-temp}
+ unpack ./data-temp/data.tar.gz
+ rm -rf data-temp lgp_* setup*
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+
+ exeinto "${dir}"
+ doexe bin/Linux/x86/${PN}{,.dynamic} || die "doexe failed"
+
+ insinto "${dir}"
+ doins -r data || die "doins -r failed"
+ doins EULA icon.xpm README{,.licenses} || die "doins failed"
+
+ # We don't support the dynamic version, even though we install it.
+ games_make_wrapper ${PN} ./${PN} "${dir}" "${dir}"
+ newicon icon.xpm ${PN}.xpm || die "newicon failed"
+ make_desktop_entry ${PN} "Knights and Merchants (Demo)" ${PN}.xpm
+ prepgamesdirs
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>