diff options
author | William Hubbs <williamh@gentoo.org> | 2022-10-02 12:57:02 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-10-02 12:57:33 -0500 |
commit | af77ee98beee6904ab22a21dd9daade594f49cba (patch) | |
tree | d7da59c919a39680b64a18cfdb71cfa71c90f0f8 /dev-util/drone | |
parent | dev-ada/langkit: fix deprecated collections.Sequence (diff) | |
download | gentoo-af77ee98beee6904ab22a21dd9daade594f49cba.tar.gz gentoo-af77ee98beee6904ab22a21dd9daade594f49cba.tar.bz2 gentoo-af77ee98beee6904ab22a21dd9daade594f49cba.zip |
dev-util/drone: add 2.13.0
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util/drone')
-rw-r--r-- | dev-util/drone/Manifest | 2 | ||||
-rw-r--r-- | dev-util/drone/drone-2.13.0.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest index f0b32c3ad4f2..a5d1bdfd8586 100644 --- a/dev-util/drone/Manifest +++ b/dev-util/drone/Manifest @@ -1,2 +1,4 @@ DIST drone-2.11.1-deps.tar.xz 135830428 BLAKE2B 8b1c42d6ebf445477018bb58776eea8b0d5133a99efc4fc366314c2985e534303d20fec704dcd6799bd6a050bf89f8d3a18e00c8030e4bc5211733827327047f SHA512 ae0b21475d716ceeddf44e449958d678e81a00b85cca71262e7093971b35a4432d0ae7252ffce561f76b19de7f71cb6798804de3f63dd832ed24d8fdf57800f4 DIST drone-2.11.1.tar.gz 311271 BLAKE2B 319a04ca2fac7d43bfc86a94a6008d07aa2565967b849f824f4a9be688d629e2b41ad98cd8319549687c842545af12260daa435e29dc1d394fa22708bdb5970a SHA512 f782427321ed990f503041ed4a4a692133f89797a16453f4238648cbd8b924bc3fb473e991668f3cba8bde0dcf87c79a5a11c02c4dfe738dd82e94009f95a685 +DIST drone-2.13.0-deps.tar.xz 134308908 BLAKE2B 455efee3eae4502ae6b434c42115f5bc18eb2cbf77094234f060129f4c22470f24c9206a01a473d583d9fb8c925825f9c909a92a3665924981e549e91a2ecb59 SHA512 b1db03d44c4e9df8fcd6e8c302b73bbe0cfbdefa4b67ee07fad15a44d5406b372833830aae795f435da4425cfee304c324c92fd6023341d77ea4c0758f4104dc +DIST drone-2.13.0.tar.gz 314427 BLAKE2B aafd2c970dfa7b9d67fc18f5a858cb4a76ca5503e8d61cf3fae7857bef91c2a965fffb535cb7c5c310f10b5f64fd9f568bda10ae704d61449a255b9adf7e8ef3 SHA512 58a30e7136ed366a5dc51a979efb677d95b2ab180982a95ea3984f35c3eba05c81b4ce3cf6bb594fd33c992704216313222c750b7857026fb316e5fce13aed01 diff --git a/dev-util/drone/drone-2.13.0.ebuild b/dev-util/drone/drone-2.13.0.ebuild new file mode 100644 index 000000000000..09dea1a22a72 --- /dev/null +++ b/dev-util/drone/drone-2.13.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="A Continuous Delivery platform built on Docker, written in Go" +HOMEPAGE="https://github.com/drone/drone" +SRC_URI="https://github.com/drone/drone/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="acct-group/drone + acct-user/drone" + RDEPEND="${DEPEND}" + +RESTRICT="test" + +src_compile() { + ego build -ldflags "-extldflags \"-static\"" \ + -o drone-server ./cmd/drone-server +} + +src_install() { + dobin drone-server + dodoc CHANGELOG.md HISTORY.md + newinitd "${FILESDIR}"/drone-server.initd drone-server + newconfd "${FILESDIR}"/drone-server.confd drone-server + keepdir /var/log/drone /var/lib/drone + fowners -R ${PN}:${PN} /var/log/drone /var/lib/drone +} |