mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 20:22:38 +01:00
39 lines
805 B
Bash
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
|
|
}
|