summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Hüsers2022-11-23 17:58:12 +0100
committerManuel Hüsers2022-11-23 18:00:52 +0100
commitbae3454332c38c7ab8a93501462132b8cb72d696 (patch)
tree82c3f2ab2dc0df159f3c0fa71e0b0196b3c90d94
parent69aa9255bbec35da7cca87fc940eef91f64dfdf4 (diff)
downloadaur-bae3454332c38c7ab8a93501462132b8cb72d696.tar.gz
Use unique file names for sources
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 2 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 621714380719..479e3892bc57 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,7 +9,7 @@ pkgbase = prometheus-postgresql-exporter
makedepends = go
makedepends = make
backup = etc/conf.d/prometheus-postgresql-exporter
- source = https://github.com/prometheus-community/postgres_exporter/archive/v0.11.1.tar.gz
+ source = https://github.com/prometheus-community/postgres_exporter/archive/v0.11.1/postgres_exporter-0.11.1.tar.gz
source = prometheus-postgresql-exporter.service
source = prometheus-postgresql-exporter.conf
sha256sums = 48e38e5cc8f093f93a84b1536c2ae7dc480760f9c443ae654a9f1f83d289a7bc
diff --git a/PKGBUILD b/PKGBUILD
index aaf424827555..d36f698a3861 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ url="https://github.com/prometheus-community/postgres_exporter"
license=('Apache')
makedepends=('git' 'go' 'make')
backup=('etc/conf.d/prometheus-postgresql-exporter')
-source=("https://github.com/prometheus-community/postgres_exporter/archive/v${pkgver}.tar.gz"
+source=("https://github.com/prometheus-community/postgres_exporter/archive/v${pkgver}/postgres_exporter-${pkgver}.tar.gz"
"prometheus-postgresql-exporter.service"
"prometheus-postgresql-exporter.conf")
sha256sums=('48e38e5cc8f093f93a84b1536c2ae7dc480760f9c443ae654a9f1f83d289a7bc'