summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7656bf48d5b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = archtorify-git
+ pkgdesc = Program for simplify the configuration of transparent proxy trough Tor Network
+ pkgver = 1.8.1
+ pkgrel = 1
+ url = https://github.com/brainfucksec/archtorify/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = tor
+ depends = curl
+ source = git+https://github.com/brainfucksec/archtorify/
+ md5sums = SKIP
+
+pkgname = archtorify-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7687dee8a39
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Brainfuck
+# http://github.com/brainfucksec
+
+_gitname=archtorify
+pkgname=archtorify-git
+pkgver=1.8.1
+pkgrel=1
+pkgdesc="Program for simplify the configuration of transparent proxy trough Tor Network"
+arch=('i686' 'x86_64')
+url="https://github.com/brainfucksec/archtorify/"
+license=('GPL3')
+depends=('tor' 'curl')
+makedepends=('git')
+source=("git+https://github.com/brainfucksec/${_gitname}/")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_gitname"
+ git describe --always | sed 's|-|.|g'
+}
+
+package() {
+ cd "$_gitname"
+
+ install -Dm644 README.md $pkgdir/usr/share/doc/$_gitname/README.md
+ install -Dm755 archtorify.sh $pkgdir/usr/bin/archtorify
+}
+
+# vim:set ts=2 sw=2