/[gentoo-x86]/games-puzzle/picpuz/picpuz-2.5.ebuild
Gentoo

Contents of /games-puzzle/picpuz/picpuz-2.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Aug 7 22:30:26 2012 UTC (2 years, 4 months ago) by johu
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #428062

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/picpuz/picpuz-2.5.ebuild,v 1.2 2012/08/04 13:34:52 hwoarang Exp $
4
5 EAPI=4
6 inherit eutils gnome2-utils games
7
8 DESCRIPTION="A jigsaw puzzle program"
9 HOMEPAGE="http://kornelix.squarespace.com/picpuz/"
10 SRC_URI="http://kornelix.squarespace.com/storage/downloads/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE=""
16
17 RDEPEND="x11-libs/gtk+:3"
18 DEPEND="${RDEPEND}
19 virtual/pkgconfig"
20
21 PATCHES=( "${FILESDIR}"/${P}-build.patch )
22
23 src_compile() {
24 emake \
25 BINDIR="${GAMES_BINDIR}" \
26 DATADIR="${GAMES_DATADIR}"/${PN} \
27 DOCDIR=/usr/share/doc/${PF}/html
28 }
29
30 src_install() {
31 dogamesbin ${PN}
32 insinto "${GAMES_DATADIR}"/${PN}
33 doins -r icons locales
34 doicon -s 48 icons/${PN}.png
35 make_desktop_entry ${PN} Picpuz
36 dohtml -r doc/{userguide-en.html,images}
37 dodoc doc/{changelog,README,translations}
38 newman doc/${PN}.man ${PN}.1
39 prepgamesdirs
40 }
41
42 pkg_preinst() {
43 games_pkg_preinst
44 gnome2_icon_savelist
45 }
46
47 pkg_postinst() {
48 games_pkg_postinst
49 gnome2_icon_cache_update
50 }
51
52 pkg_postrm() {
53 gnome2_icon_cache_update
54 }

  ViewVC Help
Powered by ViewVC 1.1.20