summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaime Martínez Rincón2019-07-02 01:26:12 +0200
committerJaime Martínez Rincón2019-07-02 01:31:22 +0200
commit753929a3ebcfe7d94d1c15bf8403405c979224a6 (patch)
treeda7b11876e42b00770c7c8f8237b37f00e150e95
downloadaur-753929a3ebcfe7d94d1c15bf8403405c979224a6.tar.gz
v0.1.7
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD32
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e546a76da73
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = httptoolkit
+ pkgdesc = Beautiful, cross-platform & open-source HTTP(S) proxy, analyzer and client.
+ pkgver = 0.1.7
+ pkgrel = 1
+ url = https://httptoolkit.tech/
+ arch = x86_64
+ license = GPL3
+ source = https://github.com/httptoolkit/httptoolkit-desktop/releases/download/v0.1.7/httptoolkit_0.1.7_amd64.deb
+ md5sums = 12150a7e58dc432a4df47a2ef3b0fc67
+
+pkgname = httptoolkit
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e950305886b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Jaime Martínez Rincón <jaime(at)jamezrin(dot)name>
+
+pkgname=httptoolkit
+pkgver=0.1.7
+pkgrel=1
+pkgdesc="Beautiful, cross-platform & open-source HTTP(S) proxy, analyzer and client."
+arch=("x86_64")
+url="https://httptoolkit.tech/"
+license=('GPL3')
+depends=()
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("https://github.com/httptoolkit/httptoolkit-desktop/releases/download/v${pkgver}/httptoolkit_${pkgver}_amd64.deb")
+noextract=()
+md5sums=("12150a7e58dc432a4df47a2ef3b0fc67")
+validpgpkeys=()
+
+package() {
+ # Extract package fs from deb
+ bsdtar -O -xf "httptoolkit_${pkgver}_amd64.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
+
+ # Set all directories to 755 mode
+ find "${pkgdir}" -type d -exec chmod 755 {} +
+}