diff options
author | Konstantin Shalygin | 2024-01-22 17:56:29 +0700 |
---|---|---|
committer | Konstantin Shalygin | 2024-01-22 17:56:29 +0700 |
commit | 6e34fb8461ca4a04cca3f26d2abeead811a5215b (patch) | |
tree | 7ae0da1e90661699279740e6e8ad1cf7c40c6b7d | |
parent | ae9f1c559d5ac06c7476905671f0bee06d435f67 (diff) | |
download | aur-6e34fb8461ca4a04cca3f26d2abeead811a5215b.tar.gz |
Added LICENSE
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = s3_exporter pkgdesc = Exports Prometheus metrics about S3 buckets and objects pkgver = 0.6.1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/qaoru/s3_exporter arch = x86_64 arch = aarch64 @@ -4,7 +4,7 @@ pkgbase='s3_exporter' pkgname='prometheus-s3-exporter' pkgver='0.6.1' -pkgrel='2' +pkgrel='3' pkgdesc='Exports Prometheus metrics about S3 buckets and objects' arch=('x86_64' 'aarch64') _uri='github.com/qaoru' @@ -47,6 +47,7 @@ build() { package() { install -Dm0755 "${GOPATH}/src/${_uri}/${pkgbase}/${pkgbase}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm0644 "${GOPATH}/src/${_uri}/${pkgbase}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm0644 "${pkgname}" -t "${pkgdir}/etc/conf.d" install -Dm0644 "${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service" install -Dm0644 "${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf" |