You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
956 B
56 lines
956 B
6 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI=6
|
||
|
inherit autotools desktop gnome2-utils
|
||
13 years ago
|
|
||
|
DESCRIPTION="Networked multiplayer-only Puzzle Bubble clone"
|
||
|
HOMEPAGE="http://freshmeat.net/projects/pengupop"
|
||
|
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
IUSE=""
|
||
|
|
||
10 years ago
|
DEPEND="media-libs/libsdl[sound,video]
|
||
13 years ago
|
sys-libs/zlib"
|
||
10 years ago
|
RDEPEND="${DEPEND}"
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
6 years ago
|
default
|
||
|
|
||
|
eapply "${FILESDIR}"/${P}-underlink.patch
|
||
13 years ago
|
|
||
10 years ago
|
sed -i \
|
||
|
-e '/Icon/s/\.png//' \
|
||
9 years ago
|
-e '/^Encoding/d' \
|
||
10 years ago
|
-e '/Categories/s/Application;//' \
|
||
|
pengupop.desktop || die
|
||
|
|
||
13 years ago
|
sed -i \
|
||
|
-e 's/-g -Wall -O2/-Wall/' \
|
||
10 years ago
|
Makefile.am || die
|
||
6 years ago
|
|
||
9 years ago
|
mv configure.in configure.ac || die
|
||
13 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
9 years ago
|
default
|
||
13 years ago
|
domenu pengupop.desktop
|
||
10 years ago
|
doicon -s 48 pengupop.png
|
||
13 years ago
|
}
|
||
10 years ago
|
|
||
|
pkg_preinst() {
|
||
|
gnome2_icon_savelist
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
gnome2_icon_cache_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
gnome2_icon_cache_update
|
||
|
}
|