diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-05-15 14:08:31 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-05-15 14:08:31 +0200 |
commit | b4c8b0ec2eed37d430caa5fe7c0336cfe50e9bdd (patch) | |
tree | 4f64098593b0a3a42750da23cceb2ee2a674708d /dev-util/drone/drone-0.6.0_rc2_p20160509.ebuild | |
parent | app-admin/mei-amt-check: Remove old (diff) | |
download | gentoo-b4c8b0ec2eed37d430caa5fe7c0336cfe50e9bdd.tar.gz gentoo-b4c8b0ec2eed37d430caa5fe7c0336cfe50e9bdd.tar.bz2 gentoo-b4c8b0ec2eed37d430caa5fe7c0336cfe50e9bdd.zip |
dev-util/drone: Remove old
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-util/drone/drone-0.6.0_rc2_p20160509.ebuild')
-rw-r--r-- | dev-util/drone/drone-0.6.0_rc2_p20160509.ebuild | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/dev-util/drone/drone-0.6.0_rc2_p20160509.ebuild b/dev-util/drone/drone-0.6.0_rc2_p20160509.ebuild deleted file mode 100644 index e578639c45a9..000000000000 --- a/dev-util/drone/drone-0.6.0_rc2_p20160509.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGO_PN="github.com/drone/drone/..." -EGIT_COMMIT="d6ceb22cd42a216af1a2bb9aca408828e3c38d0a" -EGO_VENDOR=( "github.com/drone/drone-ui f4c434d13c88da905d895156850e721cd4bd89af" ) - -inherit golang-build golang-vcs-snapshot user - -ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="A Continuous Delivery platform built on Docker, written in Go" -HOMEPAGE="https://github.com/drone/drone" -SRC_URI="${ARCHIVE_URI} - ${EGO_VENDOR_URI}" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" - -DEPEND="dev-go/go-bindata - dev-go/go-bindata-assetfs:=" - -pkg_setup() { - enewgroup drone - enewuser drone -1 -1 /var/lib/drone drone -} - -src_compile() { - GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/github.com/drone/drone gen || die - pushd src || die - DRONE_BUILD_NUMBER="${EGIT_COMMIT:0:7}" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)"\ - go install -ldflags "-extldflags '-static' -X github.com/drone/drone/version.VersionDev=build.${EGIT_COMMIT:0:7}" github.com/drone/drone/drone || die - popd || die -} - -src_install() { - dobin bin/* - dodoc src/github.com/drone/drone/README.md - keepdir /var/log/drone /var/lib/drone - fowners -R drone:drone /var/log/drone /var/lib/drone - newinitd "${FILESDIR}"/drone.initd drone - newconfd "${FILESDIR}"/drone.confd drone - newinitd "${FILESDIR}"/drone-agent.initd drone-agent - newconfd "${FILESDIR}"/drone-agent.confd drone-agent -} |