1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 22:32:37 +01:00
Files
sunny-overlay/x11-themes/solus-backgrounds/solus-backgrounds-9999.ebuild
2015-04-25 19:52:49 +02:00

39 lines
805 B
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit gnome2
DESCRIPTION="Solus Project Artwork"
HOMEPAGE="https://github.com/solus-project/artwork"
MY_PN=${PN/backgrounds/artwork}
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/solus-project/${MY_PN##*-}.git"
SRC_URI=""
KEYWORDS=""
inherit git-r3 autotools
else
SRC_URI="https://github.com/solus-project/${MY_PN##*-}/releases/download/v${PV}/${MY_PN}-${PV}.tar.xz -> ${P}.tar.xz"
S="${WORKDIR}/${MY_PN}-${PV}"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
eautoreconf
else
default_src_prepare
fi
}