summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2015-09-09 05:57:58 -0400
committerChris Severance2015-09-09 05:57:58 -0400
commit4326e6c1667b145578aeb8bb05560a696871aa6e (patch)
treee932cecfb9239b4e5582ae21174c12af478cd67e
downloadaur-nethub.tar.gz
Initial Import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD30
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4f329115945
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = nethub
+ pkgdesc = multiple connection line based single domain or TCP socket network repeater, can work with socat or netcat
+ pkgver = 1.1
+ pkgrel = 1
+ url = https://github.com/fmang/nethub
+ arch = i686
+ arch = x86_64
+ license = BSD3
+ makedepends = gcc
+ makedepends = make
+ depends = glibc
+ source = http://mg0.fr/pub/c/nethub-1.1.tar.gz
+ sha256sums = f9d30c20cf57e0dfb57bb8d5216b70c516933fcb5d25a559374bc40995a70108
+
+pkgname = nethub
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a431ccdf8f3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
+
+set -u
+pkgname='nethub'
+pkgver='1.1'
+pkgrel='1'
+pkgdesc='multiple connection line based single domain or TCP socket network repeater, can work with socat or netcat'
+url="https://github.com/fmang/${pkgname}"
+license=('BSD3')
+arch=('i686' 'x86_64')
+depends=('glibc')
+makedepends=('gcc' 'make')
+_verwatch=("http://www.mg0.fr/pub/c/" "${pkgname}-\([0-9\.]\+\)\.tar\.gz" 'l')
+source=("http://mg0.fr/pub/c/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('f9d30c20cf57e0dfb57bb8d5216b70c516933fcb5d25a559374bc40995a70108')
+
+build() {
+ set -u
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make -s -j "$(nproc)"
+ set +u
+}
+
+package() {
+ set -u
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/usr" install
+ set +u
+}
+set +u