summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-02-13 21:57:58 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-02-13 21:57:58 +0000
commit2c4758ec8b09a94ac69b69e977ac13bf01f55d95 (patch)
tree8ac4be9a0db233216d820b63f00a6406814c524f /games-board
parentStable for HPPA (bug #536790). (diff)
downloadgentoo-2-2c4758ec8b09a94ac69b69e977ac13bf01f55d95.tar.gz
gentoo-2-2c4758ec8b09a94ac69b69e977ac13bf01f55d95.tar.bz2
gentoo-2-2c4758ec8b09a94ac69b69e977ac13bf01f55d95.zip
EAPI=5; use gnome2-utils; app-text/rarian instead of app-text/scrollkeeper
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/pasang-emas/ChangeLog7
-rw-r--r--games-board/pasang-emas/pasang-emas-3.1.0.ebuild32
2 files changed, 28 insertions, 11 deletions
diff --git a/games-board/pasang-emas/ChangeLog b/games-board/pasang-emas/ChangeLog
index 796e17290b0f..7f8b5af61c81 100644
--- a/games-board/pasang-emas/ChangeLog
+++ b/games-board/pasang-emas/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/pasang-emas
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pasang-emas/ChangeLog,v 1.10 2014/07/20 16:00:34 tupone Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pasang-emas/ChangeLog,v 1.11 2015/02/13 21:57:58 mr_bones_ Exp $
+
+ 13 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org> pasang-emas-3.1.0.ebuild:
+ EAPI=5; use gnome2-utils; app-text/rarian instead of app-text/scrollkeeper
20 Jul 2014; Tupone Alfredo <tupone@gentoo.org> pasang-emas-3.1.0.ebuild,
files/pasang-emas-3.1.0-build.patch:
diff --git a/games-board/pasang-emas/pasang-emas-3.1.0.ebuild b/games-board/pasang-emas/pasang-emas-3.1.0.ebuild
index e7e918fe4ae9..b6e204fc8407 100644
--- a/games-board/pasang-emas/pasang-emas-3.1.0.ebuild
+++ b/games-board/pasang-emas/pasang-emas-3.1.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pasang-emas/pasang-emas-3.1.0.ebuild,v 1.5 2014/07/20 16:00:34 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pasang-emas/pasang-emas-3.1.0.ebuild,v 1.6 2015/02/13 21:57:58 mr_bones_ Exp $
-EAPI=4
-inherit eutils games
+EAPI=5
+inherit eutils gnome2-utils games
DESCRIPTION="A traditional game of Brunei"
HOMEPAGE="http://pasang-emas.sourceforge.net/"
@@ -19,9 +19,9 @@ IUSE="extras nls"
RDEPEND="app-text/gnome-doc-utils
>=x11-libs/gtk+-2.18.2:2
- virtual/libintl
- app-text/scrollkeeper"
+ virtual/libintl"
DEPEND="${RDEPEND}
+ app-text/rarian
nls? ( sys-devel/gettext )"
src_prepare() {
@@ -29,8 +29,8 @@ src_prepare() {
sed -i \
-e '/Encoding/d' \
-e '/Icon/s:\.png::' \
- data/pasang-emas.desktop.in \
- || die
+ data/pasang-emas.desktop.in || die
+ gnome2_omf_fix
}
src_configure() {
@@ -42,7 +42,7 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install
+ default
if use extras; then
insinto "${GAMES_DATADIR}/${PN}"/themes
doins -r \
@@ -53,3 +53,17 @@ src_install() {
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
+}