summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-04-19 16:14:09 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-04-19 16:14:31 +0300
commit40295fc087cf0af49114d26b2042b06bc3533b61 (patch)
tree10d4d7f388e102320c68ad2b58a4a17583103431 /net-fs
parentwww-client/chromium: security cleanup (diff)
downloadgentoo-40295fc087cf0af49114d26b2042b06bc3533b61.tar.gz
gentoo-40295fc087cf0af49114d26b2042b06bc3533b61.tar.bz2
gentoo-40295fc087cf0af49114d26b2042b06bc3533b61.zip
net-fs/minio: re-formatting
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/minio/minio-2021.04.18.19.26.29.ebuild38
1 files changed, 19 insertions, 19 deletions
diff --git a/net-fs/minio/minio-2021.04.18.19.26.29.ebuild b/net-fs/minio/minio-2021.04.18.19.26.29.ebuild
index 7307a3eac619..8f60ef61ce75 100644
--- a/net-fs/minio/minio-2021.04.18.19.26.29.ebuild
+++ b/net-fs/minio/minio-2021.04.18.19.26.29.ebuild
@@ -912,34 +912,34 @@ BDEPEND="
S="${WORKDIR}/${PN}-RELEASE.${MY_PV}"
src_prepare() {
-default
+ default
-sed -i \
- -e "s/time.Now().UTC().Format(time.RFC3339)/\"${MY_PV}\"/" \
- -e "s/-s //" \
- -e "/time/d" \
- -e "s/+ commitID()/+ \"${EGIT_COMMIT}\"/" \
- buildscripts/gen-ldflags.go || die
+ sed -i \
+ -e "s/time.Now().UTC().Format(time.RFC3339)/\"${MY_PV}\"/" \
+ -e "s/-s //" \
+ -e "/time/d" \
+ -e "s/+ commitID()/+ \"${EGIT_COMMIT}\"/" \
+ buildscripts/gen-ldflags.go || die
}
src_compile() {
-MINIO_RELEASE="${MY_PV}"
-go run buildscripts/gen-ldflags.go
-go build \
- --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die
+ MINIO_RELEASE="${MY_PV}"
+ go run buildscripts/gen-ldflags.go
+ go build \
+ --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die
}
src_install() {
-dobin minio
+ dobin minio
-insinto /etc/defult
-doins "${FILESDIR}"/minio.default
+ insinto /etc/defult
+ doins "${FILESDIR}"/minio.default
-dodoc -r README.md CONTRIBUTING.md docs
+ dodoc -r README.md CONTRIBUTING.md docs
-systemd_dounit "${FILESDIR}"/minio.service
-newinitd "${FILESDIR}"/minio.initd minio
+ systemd_dounit "${FILESDIR}"/minio.service
+ newinitd "${FILESDIR}"/minio.initd minio
-keepdir /var/{lib,log}/minio
-fowners minio:minio /var/{lib,log}/minio
+ keepdir /var/{lib,log}/minio
+ fowners minio:minio /var/{lib,log}/minio
}