diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2011-04-18 22:27:24 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2011-04-18 22:27:24 +0200 |
commit | 5cfd6074009a9ca84f12b9a552defbf88c3d968f (patch) | |
tree | e6c48312f238745c08e4ca0ad5e48241f470d3a6 /games-board | |
parent | app-doc/gnumake-openbook: New package (diff) | |
download | betagarden-5cfd6074009a9ca84f12b9a552defbf88c3d968f.tar.gz betagarden-5cfd6074009a9ca84f12b9a552defbf88c3d968f.tar.bz2 betagarden-5cfd6074009a9ca84f12b9a552defbf88c3d968f.zip |
games-board/gsquares: 0.1
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/gsquares/Manifest | 3 | ||||
-rw-r--r-- | games-board/gsquares/gsquares-0.1.ebuild | 47 | ||||
-rw-r--r-- | games-board/gsquares/metadata.xml | 9 |
3 files changed, 59 insertions, 0 deletions
diff --git a/games-board/gsquares/Manifest b/games-board/gsquares/Manifest new file mode 100644 index 0000000..9e1b747 --- /dev/null +++ b/games-board/gsquares/Manifest @@ -0,0 +1,3 @@ +DIST GSquares-0.1.tar.gz 301965 RMD160 4defb1502b8ef74b8e6ea803755c0685ee65348e SHA1 80eed34c98759a2921534ee56acb6f9dfb3eee83 SHA256 5ac1e351bcd7fb558d11cb131b9b3c2ee29187dd8cabf640797160adefa3ee34 +EBUILD gsquares-0.1.ebuild 1075 RMD160 7fb3e8a2200ff4197ed64018f6040856ffdf61d7 SHA1 9bc9b4e9d214bb5fedfa841f253d3c5f182afdbf SHA256 7fb66ebf2eb1ac65dd551b28e52dadc49cbceec06d342f90fdac3ec549bf3d1c +MISC metadata.xml 257 RMD160 04e4c6e678ba8e8ffde93f57d06a40b60f9eaa69 SHA1 e3c39bf9a25beebbe626726bb94f6e22db4fa06d SHA256 b4a209de2bfbbcc5ceab61bf458a1ee79da4c60a30e4aabf54b76e9709b56db8 diff --git a/games-board/gsquares/gsquares-0.1.ebuild b/games-board/gsquares/gsquares-0.1.ebuild new file mode 100644 index 0000000..e50c298 --- /dev/null +++ b/games-board/gsquares/gsquares-0.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +MY_PN="GSquares" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="GTK-Based Strategy Game" +HOMEPAGE="http://dibyendu.github.com/GSquares/" +SRC_URI="mirror://sourceforge/project/gsquare/${MY_PN}/Version%20${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + dev-libs/glib:2 + x11-libs/cairo" +DEPEND="${RDEPEND} + sys-apps/sed" + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + sed -e "s|/share/|/share/${MY_PN}/|g" \ + -i "${S}"/src/paths.h.in || die +} + +src_configure() { + econf --datadir=/usr/share/${MY_PN} +} + +src_install() { + emake DESTDIR="${D}" install || die + + # Fix icon location + sed 's|Icon=gsquares.png|Icon=/usr/share/GSquares/pixmaps/icon.png|' \ + -i "${D}"/usr/share/${MY_PN}/games/${MY_PN}.desktop || die + + # Move .desktop file in place + dodir /usr/share/applications || die + mv "${D}"/usr/share/{${MY_PN}/games/${MY_PN}.desktop,applications} || die + rmdir "${D}"/usr/share/${MY_PN}/games || die +} diff --git a/games-board/gsquares/metadata.xml b/games-board/gsquares/metadata.xml new file mode 100644 index 0000000..328fbd1 --- /dev/null +++ b/games-board/gsquares/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>sping@gentoo.org</email> + <name>Sebastian Pipping</name> + </maintainer> +</pkgmetadata> |