summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Franke2020-07-24 10:48:00 +0200
committerBjoern Franke2020-07-24 10:48:00 +0200
commitdfe436421dcbb5778efd5313b2a11ed61b18b281 (patch)
tree263a9290dca5abfdeef846b6696b334f018bb8bb
parentaad12b3dd6a1ceae0cb0fae71b8d2be7efc4e20f (diff)
downloadaur-dfe436421dcbb5778efd5313b2a11ed61b18b281.tar.gz
fix source array
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 67a7a8ef8652..04ecdd67329c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bgpalerter-bin
pkgdesc = Software to monitor streams of BGP data
pkgver = 1.26.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/nttgin/BGPalerter
arch = x86_64
license = BSD
@@ -10,7 +10,7 @@ pkgbase = bgpalerter-bin
conflicts = bgpalerter
options = !strip
options = !emptydirs
- source = https://github.com/nttgin/BGPalerter/releases/download//v1.26.1/bgpalerter-linux-x64
+ source = bgpalerter-bin-1.26.1::https://github.com/nttgin/BGPalerter/releases/download//v1.26.1/bgpalerter-linux-x64
source = https://raw.githubusercontent.com/nttgin/BGPalerter/v1.26.1/LICENSE
source = https://raw.githubusercontent.com/nttgin/BGPalerter/v1.26.1/config.yml.example
source = https://raw.githubusercontent.com/nttgin/BGPalerter/v1.26.1/prefixes.yml.example
diff --git a/PKGBUILD b/PKGBUILD
index 0f4975e593c3..74d6fb623918 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=bgpalerter-bin
_pkgname=bgpalerter
pkgver=1.26.1
-pkgrel=1
+pkgrel=2
pkgdesc="Software to monitor streams of BGP data"
arch=('x86_64')
url="https://github.com/nttgin/BGPalerter"
@@ -11,7 +11,7 @@ depends=(libsystemd)
conflicts=('bgpalerter')
provides=('bgpalerter')
options=('!strip' '!emptydirs')
-source=("https://github.com/nttgin/BGPalerter/releases/download//v${pkgver}/bgpalerter-linux-x64"
+source=("${pkgname}-${pkgver}::https://github.com/nttgin/BGPalerter/releases/download//v${pkgver}/bgpalerter-linux-x64"
"https://raw.githubusercontent.com/nttgin/BGPalerter/v${pkgver}/LICENSE"
"https://raw.githubusercontent.com/nttgin/BGPalerter/v${pkgver}/config.yml.example"
"https://raw.githubusercontent.com/nttgin/BGPalerter/v${pkgver}/prefixes.yml.example"
@@ -26,7 +26,7 @@ package(){
cd "${srcdir}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
install -Dm644 bgpalerter.service "${pkgdir}/usr/lib/systemd/system/bgpalerter.service"
- install -Dm755 bgpalerter-linux-x64 "${pkgdir}/opt/${_pkgname}/bgpalerter"
+ install -Dm755 ${pkgname}-${pkgver} "${pkgdir}/opt/${_pkgname}/bgpalerter"
install -Dm644 *.example -t "${pkgdir}/opt/${_pkgname}/"
}