viewnior ebuild (new version, that is not on portage for now)

This commit is contained in:
Sergey Popov 2012-02-26 18:29:35 +04:00
parent c273ee23e7
commit 526f37806f
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST viewnior-1.2.tar.gz 522402 RMD160 75eae48a83fbb24fbaebcd3fb92f6b95c9514f34 SHA1 16213adf268ea62663996fdb8d40e356f1c3cf63 SHA256 20e16a81bd82fe74aaccd39deda82ad447378474b52b5e7bcef77780e3f69527
EBUILD viewnior-1.2.ebuild 929 RMD160 0c611d64e708dae3817cbfc537a62ce88310220d SHA1 c1458e69ef1ad7e452da918c59063d472e0215d4 SHA256 f6a385ec307101e997443908e19336abda09b39568ab559fc1b432200e1c8376

View File

@ -0,0 +1,39 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/viewnior/viewnior-1.1.ebuild,v 1.3 2011/07/19 19:56:36 maekke Exp $
EAPI="2"
inherit fdo-mime gnome2-utils
DESCRIPTION="Fast and simple image viewer"
HOMEPAGE="http://xsisqox.github.com/Viewnior/index.html"
SRC_URI="http://cloud.github.com/downloads/xsisqox/Viewnior/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-libs/glib:2
>=x11-libs/gtk+-2.20:2
x11-misc/shared-mime-info"
RDEPEND="${DEPEND}"
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog* TODO README NEWS || die "dodoc failed"
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
}