Created
May 8, 2020 15:28
-
-
Save jsn/9f18986d754debc505b738284216a179 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index bc1a54d..875ab64 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -2,12 +2,13 @@ | |
pkgname=prometheus-nginxlog-exporter-bin | |
_name=prometheus-nginxlog-exporter | |
-pkgver=1.4.0 | |
+pkgver=1.7.0 | |
pkgrel=2 | |
pkgdesc="Export metrics from Nginx access log files to Prometheus" | |
arch=('x86_64') | |
url="https://github.com/martin-helmich/${_name}/" | |
+_bundle="${_name}_${pkgver}_linux_amd64.tar.gz" | |
license=('Apache') | |
depends=() | |
makedepends=() | |
@@ -15,10 +16,11 @@ backup=('etc/prometheus/nginxlog.yml') | |
provides=("${_name}") | |
conflicts=("${_name}") | |
source=( "${_name}.service" 'config.yml' | |
-"${url}/releases/download/v${pkgver}/${_name}") | |
+"${url}/releases/download/v${pkgver}/${_bundle}") | |
package() { | |
cd "${srcdir}/" | |
+ tar xvf ${_bundle} | |
# Install Binary | |
install -D -m0755 "${_name}" \ | |
@@ -33,4 +35,4 @@ package() { | |
} | |
md5sums=('eb93cf58698a0015dd3124c1c1653fbf' | |
'7f951e89fda154346240c0f0eb9223ce' | |
- '07a57e43670390b61a58e4df91503bce') | |
+ 'a1686bdb22ff211f5f33ed81fe6e50f5') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment