summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDamjan Georgievski2020-03-09 02:29:01 +0100
committerDamjan Georgievski2020-03-09 02:29:01 +0100
commit30a3de2b3e17070596053f98acc2c1992b162b7c (patch)
treed4ad47f98ae2383f78f1b459746e2e9f7777c697 /PKGBUILD
downloadaur-nc-vsock.tar.gz
initial commit of nc-vsock 1.0.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
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')