From 6039e683b43ae3a9f72e785c9124d822502719de Mon Sep 17 00:00:00 2001 From: caltlgin Date: Sat, 12 Dec 2020 10:33:02 +1300 Subject: Add to AUR --- .SRCINFO | 20 ++++++++++++++++++++ .gitignore | 5 +++++ PKGBUILD | 28 ++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..8ac26f3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = proxify-bin + pkgdesc = Swiss Army knife Proxy tool for HTTP/HTTPS traffic capture, manipulation and replay + pkgver = 0.0.2 + pkgrel = 1 + url = https://github.com/projectdiscovery/proxify + arch = x86_64 + arch = armv6h + arch = aarch64 + license = MIT + provides = proxify + conflicts = proxify + source_x86_64 = proxify-0.0.2-x86_64.tar.gz::https://github.com/projectdiscovery/proxify/releases/download/v0.0.2/proxify_0.0.2_linux_amd64.tar.gz + sha256sums_x86_64 = bd88ee67fea984165999cefcbdfedb099edb61c82a3c99c4094b4cb2a0dbf971 + source_armv6h = proxify-0.0.2-armv6.tar.gz::https://github.com/projectdiscovery/proxify/releases/download/v0.0.2/proxify_0.0.2_linux_armv6.tar.gz + sha256sums_armv6h = cc2acac8ab98fe7ebb93858934826903b0c7fc33f3897e357aa5c219025b8b32 + source_aarch64 = proxify-0.0.2-aarch64.tar.gz::https://github.com/projectdiscovery/proxify/releases/download/v0.0.2/proxify_0.0.2_linux_arm64.tar.gz + sha256sums_aarch64 = 05dbbd10420345f6c6baa976d904323044333d2faa22697fabe84755667f3f5c + +pkgname = proxify-bin + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..623d0e7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..7019136 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Caltlgin Stsodaat + +_pkgname='proxify' +pkgname="${_pkgname}-bin" +pkgver=0.0.2 +pkgrel=1 +pkgdesc='Swiss Army knife Proxy tool for HTTP/HTTPS traffic capture, manipulation and replay' +arch=('x86_64' 'armv6h' 'aarch64') +url='https://github.com/projectdiscovery/proxify' +license=('MIT') +provides=("${_pkgname}") +conflicts=("${_pkgname}") + +source_x86_64=("${_pkgname}-${pkgver}-x86_64.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_amd64.tar.gz") +source_armv6h=("${_pkgname}-${pkgver}-armv6.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_armv6.tar.gz") +source_aarch64=("${_pkgname}-${pkgver}-aarch64.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_arm64.tar.gz") + +sha256sums_x86_64=('bd88ee67fea984165999cefcbdfedb099edb61c82a3c99c4094b4cb2a0dbf971') +sha256sums_armv6h=('cc2acac8ab98fe7ebb93858934826903b0c7fc33f3897e357aa5c219025b8b32') +sha256sums_aarch64=('05dbbd10420345f6c6baa976d904323044333d2faa22697fabe84755667f3f5c') + +package() { + install -Dvm755 "${_pkgname}" -t "${pkgdir}/usr/bin" + install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}" + install -Dvm644 'LICENSE.MD' "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" +} + +# vim: ts=2 sw=2 et: -- cgit v1.2.3-70-g09d2