From 3ef1ceaa28fa39fd6ddff662ce5b6f82cb1548d0 Mon Sep 17 00:00:00 2001 From: Jesse Harris Date: Sat, 6 Oct 2018 18:10:54 +1000 Subject: [PATCH] Version bump gentoo ebuild (#187) * Update gentoo ebuild --- ...nedrive-2.0.2.ebuild => onedrive-2.1.3.ebuild} | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) rename contrib/gentoo/{onedrive-2.0.2.ebuild => onedrive-2.1.3.ebuild} (60%) diff --git a/contrib/gentoo/onedrive-2.0.2.ebuild b/contrib/gentoo/onedrive-2.1.3.ebuild similarity index 60% rename from contrib/gentoo/onedrive-2.0.2.ebuild rename to contrib/gentoo/onedrive-2.1.3.ebuild index 1ff329ee..dafd43e8 100644 --- a/contrib/gentoo/onedrive-2.0.2.ebuild +++ b/contrib/gentoo/onedrive-2.1.3.ebuild @@ -5,7 +5,7 @@ EAPI=6 DESCRIPTION="Onedrive sync client for Linux" HOMEPAGE="https://github.com/abraunegg/onedrive" -SRC_URI="https://github.com/abraunegg/onedrive/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/abraunegg/onedrive/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" @@ -13,14 +13,7 @@ KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=" - || ( - dev-util/dub[dmd-2_080] - dev-util/dub[dmd-2_079] - dev-util/dub[dmd-2_078] - dev-util/dub[dmd-2_076] - dev-util/dub[dmd-2_075] - dev-util/dub[dmd-2_074] -) + >=dev-lang/dmd-2.081.1 dev-db/sqlite " @@ -29,8 +22,10 @@ RDEPEND="${DEPEND} " src_prepare() { default + # Copy line 38 to 44 as systemd path needs to be created in portage sandbox # Update the makefile so that it doesnt use git commands to get the version during build. - sed -i -e "s/version:.*/version:/" \ + sed -i -e "38h; 44p; 44x" \ + -e "s/version:.*/version:/" \ -e "\$s/.*/\techo v${PV} > version/" \ Makefile }