aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/nfspy/APKBUILD
blob: db0e6a7116bfd6a0c09711f39dfafd4908a6f5ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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"