void-packages/srcpkgs/minio/template
Gerardo Di Iorio 2754ace71a minio: update to 2020.08.27.
Closes: #24587 [via git-merge-pr]
2020-09-02 10:26:15 -04:00

33 lines
985 B
Bash

# Template file for 'minio'
pkgname=minio
version=2020.08.27
revision=1
_version="${version//./-}T05-16-20Z"
wrksrc=${pkgname}-RELEASE.${_version}
build_style=go
go_import_path="github.com/minio/minio"
conf_files="/etc/default/minio /etc/minio/config.json"
hostmakedepends="git"
short_desc="Object storage server compatible with Amazon S3"
maintainer="Gerardo Di Iorio <arete74@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/minio/minio"
distfiles="${homepage}/archive/RELEASE.${_version}.tar.gz"
checksum=c68c3cd6d21ca8dcd88ba5ebec6742d5a1e9ee1fc6c67d81fc1b2744de725421
system_accounts="_minio"
_minio_homedir="/var/lib/minio"
_minio_descr="Minio Daemon User"
make_dirs="/etc/minio 0755 _minio _minio
/var/lib/minio 0755 _minio _minio
/var/lib/minio/data 0755 _minio _minio"
do_check() {
:
}
post_install() {
vdoc README.md
vinstall ${FILESDIR}/${pkgname}.confd 644 etc/default ${pkgname}
vinstall ${FILESDIR}/config.json 644 etc/minio config.json
vsv minio
}