diff options
author | caltlgin | 2020-12-12 10:33:02 +1300 |
---|---|---|
committer | caltlgin | 2020-12-12 10:33:02 +1300 |
commit | 6039e683b43ae3a9f72e785c9124d822502719de (patch) | |
tree | 9d0f1f747fcd9bf26bf255fcefa9e38859ff254c /PKGBUILD | |
download | packages-6039e683b43ae3a9f72e785c9124d822502719de.tar.gz packages-6039e683b43ae3a9f72e785c9124d822502719de.tar.bz2 packages-6039e683b43ae3a9f72e785c9124d822502719de.zip |
Add to AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..7019136 --- /dev/null +++ b/PKGBUILD | |||
@@ -0,0 +1,28 @@ | |||
1 | # Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz> | ||
2 | |||
3 | _pkgname='proxify' | ||
4 | pkgname="${_pkgname}-bin" | ||
5 | pkgver=0.0.2 | ||
6 | pkgrel=1 | ||
7 | pkgdesc='Swiss Army knife Proxy tool for HTTP/HTTPS traffic capture, manipulation and replay' | ||
8 | arch=('x86_64' 'armv6h' 'aarch64') | ||
9 | url='https://github.com/projectdiscovery/proxify' | ||
10 | license=('MIT') | ||
11 | provides=("${_pkgname}") | ||
12 | conflicts=("${_pkgname}") | ||
13 | |||
14 | source_x86_64=("${_pkgname}-${pkgver}-x86_64.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_amd64.tar.gz") | ||
15 | source_armv6h=("${_pkgname}-${pkgver}-armv6.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_armv6.tar.gz") | ||
16 | source_aarch64=("${_pkgname}-${pkgver}-aarch64.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_arm64.tar.gz") | ||
17 | |||
18 | sha256sums_x86_64=('bd88ee67fea984165999cefcbdfedb099edb61c82a3c99c4094b4cb2a0dbf971') | ||
19 | sha256sums_armv6h=('cc2acac8ab98fe7ebb93858934826903b0c7fc33f3897e357aa5c219025b8b32') | ||
20 | sha256sums_aarch64=('05dbbd10420345f6c6baa976d904323044333d2faa22697fabe84755667f3f5c') | ||
21 | |||
22 | package() { | ||
23 | install -Dvm755 "${_pkgname}" -t "${pkgdir}/usr/bin" | ||
24 | install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}" | ||
25 | install -Dvm644 'LICENSE.MD' "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" | ||
26 | } | ||
27 | |||
28 | # vim: ts=2 sw=2 et: | ||