makedeb


hurl-bin 5.0.1-4


Hurl, run and test HTTP requests with plain text.

Click here to go back to the commit logs for hurl-bin.

Commit:


Hash: fd1085b27cf18f3c37cf0237820e86cd9a2358e2

Message: v4.1.0-2

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 5a9c5ac..12f59bd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = hurl-bin
 pkgbase = hurl-bin
 pkgdesc = Hurl, run and test HTTP requests with plain text.
-pkgrel = 1
+pkgrel = 2
 pkgver = 4.1.0
 url = https://hurl.dev/
 arch = amd64
diff --git a/PKGBUILD b/PKGBUILD
index 3505024..777ebdb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # vim: set sw=4 expandtab:
 pkgname=hurl-bin
 pkgver=4.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Hurl, run and test HTTP requests with plain text.'
 arch=('amd64')
 provides=(hurl)
@@ -16,9 +16,9 @@ source=("https://github.com/Orange-OpenSource/hurl/releases/download/$pkgver/hur
 sha256sums=('9528379f817d118c933afb555d62dd83994503235a0a14fda2dfa5995628ded0')
 
 package() {
-    cd "$srcdir"
-    install -Dm755 "hurl-$pkgver/hurl" "$pkgdir/usr/bin/hurl"
-    install -Dm755 "hurl-$pkgver/hurlfmt" "$pkgdir/usr/bin/hurlfmt"
-    install -Dm655 "hurl-$pkgver/hurl.1.gz" "$pkgdir/usr/share/man/man1/hurl.1.gz"
-    install -Dm644 "hurl-$pkgver/hurlfmt.1.gz" "$pkgdir/usr/share/man/man1/hurlfmt.1.gz"
+    cd "$srcdir/hurl-$pkgver-x86_64-unknown-linux-gnu/"
+    install -Dm755 "hurl" "$pkgdir/usr/bin/hurl"
+    install -Dm755 "hurlfmt" "$pkgdir/usr/bin/hurlfmt"
+    install -Dm655 "hurl.1.gz" "$pkgdir/usr/share/man/man1/hurl.1.gz"
+    install -Dm644 "hurlfmt.1.gz" "$pkgdir/usr/share/man/man1/hurlfmt.1.gz"
 }