summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFabian Beuke2016-12-03 15:26:10 +0100
committerFabian Beuke2016-12-03 15:26:10 +0100
commitb91ce8397d055f13d5c8a5a98eb42d77209993d9 (patch)
treef7606b611812ead7a7a4adce689153d345afdfc0 /PKGBUILD
parent3cdf113bdc22348b9edcd46e19201aed682df4cb (diff)
downloadaur-b91ce8397d055f13d5c8a5a98eb42d77209993d9.tar.gz
fetch from upstream instead of blackarch
suggested by swalladge, thx
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
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}"
}