summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Shalygin2024-01-22 17:56:29 +0700
committerKonstantin Shalygin2024-01-22 17:56:29 +0700
commit6e34fb8461ca4a04cca3f26d2abeead811a5215b (patch)
tree7ae0da1e90661699279740e6e8ad1cf7c40c6b7d
parentae9f1c559d5ac06c7476905671f0bee06d435f67 (diff)
downloadaur-6e34fb8461ca4a04cca3f26d2abeead811a5215b.tar.gz
Added LICENSE
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index df7dbcbe0549..16faf5fe0225 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 1542f7c9154b..d5cd37f24094 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"