aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/nfspy/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/nfspy/APKBUILD')
-rw-r--r--unmaintained/nfspy/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/nfspy/APKBUILD b/unmaintained/nfspy/APKBUILD
new file mode 100644
index 0000000000..db0e6a7116
--- /dev/null
+++ b/unmaintained/nfspy/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=nfspy
+_pkgname=NfSpy
+pkgver=1.0
+pkgrel=0
+pkgdesc="An ID-spoofing NFS client"
+url="https://github.com/bonsaiviking/NfSpy"
+arch="noarch"
+license="MIT"
+depends="python py-fuse"
+depends_dev=""
+makedepends="python-dev"
+install=""
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/bonsaiviking/NfSpy/archive/v$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="c8437ae053001efabb871a69e81d92d8 nfspy-1.0.tar.gz"
+sha256sums="1b4a61eeb3b44b37326590847e8d45346dd2bcf3e1d64b8935ba4c8ce85f0119 nfspy-1.0.tar.gz"
+sha512sums="dce93054e242acdfa6db78d92cdc4538b1187a981573d5aa530717db73b777acbda3570531d80d8401fc78eee848f5eebb74eafff82e4b176505c40d8d841b29 nfspy-1.0.tar.gz"