summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Beuke2016-12-03 15:26:10 +0100
committerFabian Beuke2016-12-03 15:26:10 +0100
commitb91ce8397d055f13d5c8a5a98eb42d77209993d9 (patch)
treef7606b611812ead7a7a4adce689153d345afdfc0
parent3cdf113bdc22348b9edcd46e19201aed682df4cb (diff)
downloadaur-b91ce8397d055f13d5c8a5a98eb42d77209993d9.tar.gz
fetch from upstream instead of blackarch
suggested by swalladge, thx
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dded89961526..a842de511cfb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,8 +6,8 @@ pkgbase = dripcap
arch = x86_64
license = MIT
depends = wget
- source = http://mirror.easyname.at/blackarch/blackarch/os/x86_64/dripcap-0.4.9-1-x86_64.pkg.tar.xz
- sha256sums = SKIP
+ source = https://github.com/dripcap/dripcap/releases/download/v0.4.9/dripcap-linux-amd64.deb
+ sha1sums = c3877f607a4084c5c9ff278358e0ec8466570618
pkgname = dripcap
diff --git a/PKGBUILD b/PKGBUILD
index 85f8fca49478..4af2bf92b6d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,10 +7,11 @@ pkgdesc="Caffeinated Packet Analyzer"
url="https://dripcap.org/"
license=('MIT')
depends=('wget')
-sha256sums=('SKIP')
-
-source=(http://mirror.easyname.at/blackarch/blackarch/os/${arch}/${pkgname}-${pkgver}-${pkgrel}-${arch}.pkg.tar.xz)
+sha1sums=('c3877f607a4084c5c9ff278358e0ec8466570618')
+source=("https://github.com/dripcap/dripcap/releases/download/v${pkgver}/dripcap-linux-amd64.deb")
package() {
- tar xJvf ${pkgname}-${pkgver}-${pkgrel}-${arch}.pkg.tar.xz -C ${pkgdir}/
+ bsdtar xf data.tar.gz
+ chmod -R g-w usr
+ mv usr "${pkgdir}"
}