diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-util/drone/drone-0.8.7.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-util/drone/drone-0.8.7.ebuild')
-rw-r--r-- | dev-util/drone/drone-0.8.7.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-util/drone/drone-0.8.7.ebuild b/dev-util/drone/drone-0.8.7.ebuild deleted file mode 100644 index 1d22c76c9554..000000000000 --- a/dev-util/drone/drone-0.8.7.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGO_PN="github.com/drone/drone" -EGIT_COMMIT="08739aaed9e95fad15fcefd5cdfe11d7ca66fcbf" -EGO_VENDOR=( "github.com/drone/drone-ui e7597b5234814a2c2f2a7f489b631a76649c335a" - "github.com/golang/protobuf aa810b61a9c79d51363740d207bb46cf8e620ed5" - "golang.org/x/net 9b4f9f5ad5197c79fd623a3638e70d8b26cef344 github.com/golang/net" - ) - -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:=" - -RESTRICT="test" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/drone ${PN} -} - -src_compile() { - pushd src || die - GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -v -ldflags "-extldflags '-static' -X github.com/drone/drone/version.VersionDev=build.${PV}.${EGIT_COMMIT:0:7}" -o release/drone-server ${EGO_PN}/cmd/drone-server || die - GOPATH="${WORKDIR}/${P}" go build -v -ldflags "-X github.com/drone/drone/version.VersionDev=build.${PV}.${EGIT_COMMIT:0:7}" -o release/drone-agent ${EGO_PN}/cmd/drone-agent || die - popd || die -} - -src_install() { - dobin src/release/drone-{agent,server} - dodoc src/github.com/drone/drone/README.md - keepdir /var/log/drone /var/lib/drone - fowners -R ${PN}:${PN} /var/log/drone /var/lib/drone - newinitd "${FILESDIR}"/drone-server.initd drone-server - newconfd "${FILESDIR}"/drone-server.confd drone-server - newinitd "${FILESDIR}"/drone-agent.initd drone-agent - newconfd "${FILESDIR}"/drone-agent.confd drone-agent -} |