void-packages/srcpkgs/minio/template
2020-03-13 17:59:54 +01:00

31 lines
944 B
Bash

# Template file for 'minio'
pkgname=minio
version=2020.03.09
revision=1
_version="${version//./-}T18-26-53Z"
wrksrc=${pkgname}-RELEASE.${_version}
build_style=go
go_import_path="github.com/minio/minio"
_minio_homedir="/var/lib/minio"
_minio_descr="Minio Daemon User"
conf_files="/etc/default/minio /etc/minio/config.json"
make_dirs="/etc/minio 0755 _minio _minio /var/lib/minio 0755 _minio _minio"
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=63b850d21e5eb600cea6c6f97319c546a0c996c9b4b2ca8771ba557c537f259a
system_accounts="_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
}