void-packages/srcpkgs/minio/template
2018-07-03 22:38:47 +02:00

33 lines
963 B
Bash

# Template file for 'minio'
pkgname=minio
version=2018.06.29
revision=1
_version="${version//./-}T02-11-29Z"
wrksrc=${pkgname}-RELEASE.${_version}
build_style=go
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"
go_import_path="github.com/minio/minio"
distfiles="${homepage}/archive/RELEASE.${_version}.tar.gz"
checksum=15cf35b989862c0de3259e3015f3ad4f1d3a19426644e74c2815e3e5d921f36d
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"
conf_files="/etc/default/minio /etc/minio/config.json"
do_check() {
:
}
post_install() {
vdoc README.md
vlicense LICENSE
vinstall ${FILESDIR}/${pkgname}.confd 644 etc/default ${pkgname}
vinstall ${FILESDIR}/config.json 644 etc/minio config.json
vsv minio
}