Overlay/app-office/laview-data-example/laview-data-example-9999.eb...

45 lines
885 B
Bash

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit gnome2-utils cmake-utils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://git.backbone.ws/kolan/LAview.Data-Example.git"}
inherit git-r3
KEYWORDS=""
else
#SRC_URI="ftp://ftp.backbone.ws/projects/LAview.Data-Example/${P}.tar.bz2"
SRC_URI="https://git.backbone.ws/kolan/LAview.Data-Example/archive/v${PVR}.tar.gz -> laview-data-example-${PVR}.tar.gz"
KEYWORDS="-* ~x86 ~amd64"
fi
DESCRIPTION="LAview data plugin sample."
HOMEPAGE="https://git.backbone.ws/kolan/LAview.Data-Example"
SLOT="0"
LICENSE="LGPL-3"
IUSE=""
DEPEND="app-office/laview-core
x11-libs/gtk+:3"
RDEPEND="${DEPEND}"
pkg_preinst() {
gnome2_schemas_savelist
}
pkg_postinst() {
gnome2_schemas_update
}
pkg_postrm() {
gnome2_schemas_update
}