summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Georgievski2020-03-09 02:29:01 +0100
committerDamjan Georgievski2020-03-09 02:29:01 +0100
commit30a3de2b3e17070596053f98acc2c1992b162b7c (patch)
treed4ad47f98ae2383f78f1b459746e2e9f7777c697
downloadaur-30a3de2b3e17070596053f98acc2c1992b162b7c.tar.gz
initial commit of nc-vsock 1.0.1
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD24
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e4b375da6f8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = nc-vsock
+ pkgdesc = netcat-like utility for AF_VSOCK
+ pkgver = 1.0.1
+ pkgrel = 1
+ url = https://github.com/stefanha/nc-vsock
+ arch = x86_64
+ license = GPL
+ depends = glibc
+ source = nc-vsock-1.0.1.tar.gz::https://github.com/stefanha/nc-vsock/archive/v1.0.1.tar.gz
+ sha256sums = 8abfd19a51e4482febd3a684054097bfdcd9dda024f93b07708515f746973b71
+
+pkgname = nc-vsock
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c7b93c2b8d8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Damjan Georgievski <gdamjan@gmail.com>
+
+pkgname=nc-vsock
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="netcat-like utility for AF_VSOCK"
+arch=('x86_64')
+url="https://github.com/stefanha/nc-vsock"
+license=('GPL')
+depends=('glibc')
+makedepends=()
+source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/v${pkgver}.tar.gz")
+
+build() {
+ cd $pkgname-$pkgver
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -D -m755 nc-vsock -t "${pkgdir}/usr/bin/"
+}
+
+sha256sums=('8abfd19a51e4482febd3a684054097bfdcd9dda024f93b07708515f746973b71')