summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-board/pasang-emas/pasang-emas-3.1.0.ebuild68
1 files changed, 0 insertions, 68 deletions
diff --git a/games-board/pasang-emas/pasang-emas-3.1.0.ebuild b/games-board/pasang-emas/pasang-emas-3.1.0.ebuild
deleted file mode 100644
index 9f5ac72ed957..000000000000
--- a/games-board/pasang-emas/pasang-emas-3.1.0.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils gnome2-utils games
-
-DESCRIPTION="A traditional game of Brunei"
-HOMEPAGE="http://pasang-emas.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
- extras? ( mirror://sourceforge/${PN}/pasang-emas-themes-1.0.tar.bz2
- mirror://sourceforge/${PN}/pet-marble.tar.bz2
- mirror://sourceforge/${PN}/pet-fragrance.tar.bz2 )"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="extras nls"
-
-RDEPEND="app-text/gnome-doc-utils
- >=x11-libs/gtk+-2.18.2:2
- virtual/libintl"
-DEPEND="${RDEPEND}
- app-text/rarian
- nls? ( sys-devel/gettext )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-build.patch
- sed -i \
- -e '/Encoding/d' \
- -e '/Icon/s:\.png::' \
- data/pasang-emas.desktop.in || die
- gnome2_omf_fix
-}
-
-src_configure() {
- egamesconf \
- --localedir=/usr/share/locale \
- --with-omf-dir=/usr/share/omf \
- --with-help-dir=/usr/share/gnome/help \
- $(use_enable nls)
-}
-
-src_install() {
- default
- if use extras; then
- insinto "${GAMES_DATADIR}/${PN}"/themes
- doins -r \
- "${WORKDIR}"/marble \
- "${WORKDIR}"/pasang-emas-themes-1.0/{conteng,kaca} \
- "${WORKDIR}"/fragrance
- fi
- use nls || rm -rf "${D}"usr/share/locale
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_scrollkeeper_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_scrollkeeper_update
-}
-
-pkg_postrm() {
- gnome2_scrollkeeper_update
-}