void-packages/srcpkgs/minio/template
2018-12-01 19:45:52 -02:00

32 lines
962 B
Bash

# Template file for 'minio'
pkgname=minio
version=2018.11.30
revision=1
_version="${version//./-}T03-56-59Z"
wrksrc=${pkgname}-RELEASE.${_version}
build_style=go
go_import_path="github.com/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=974e05b1280e66e5be5f59a2016cd46afe378aacd41a621410362a7deb4f1fa4
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
}