diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8215707ea0cc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = 403jump-git + pkgdesc = Tool designed to bypass HTTP 403 (Forbidden) pages using various techniques. + pkgver = 0.1.0.772eba8f8b + pkgrel = 1 + url = https://github.com/trap-bytes/403jump + arch = any + license = MIT + depends = git + depends = go + provides = 403jump + conflicts = 403jump + conflicts = 403jump-bin + source = git+https://github.com/trap-bytes/403jump + sha512sums = SKIP + +pkgname = 403jump-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fd67b824053a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: killab33z <killab33z @ protonmail-dot-com> +pkgname=403jump-git +_pkgname=403jump +pkgver=0.1.0.772eba8f8b +pkgrel=1 +pkgdesc="Tool designed to bypass HTTP 403 (Forbidden) pages using various techniques." +arch=('any') +url="https://github.com/trap-bytes/403jump" +license=('MIT') +depends=('git' 'go') +provides=('403jump') +conflicts=('403jump' '403jump-bin') +source=("git+$url") +sha512sums=('SKIP') + +build() { + cd $_pkgname + go build -o 403jump main.go httphandler.go +} + +package() { + install -Dm644 "$srcdir/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" + install -Dm0755 $srcdir/$_pkgname/403jump "$pkgdir/usr/bin/403jump" +} + |