summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5c4f4493eb18d33b0cd9824775ac8ea9cd6c728 (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
# Maintainer: Per Osbeck <per@osbeck.com>
pkgname=fuse-nfs-git
_pkgname=fuse-nfs
pkgver=r71.91c69c5
pkgrel=1
pkgdesc="This is a fuse module that implements the NFS protocol."
arch=('i686' 'x86_64' 'armv5' 'armv5h' 'armv6' 'armv6h' 'armv7' 'armv7h')
url="https://github.com/sahlberg/fuse-nfs"
license=('GPL')
makedepends=('git')
depends=('fuse2' 'libnfs')
source=("$pkgname::git+https://github.com/sahlberg/$_pkgname.git")
md5sums=(SKIP)

build() {
	cd "$srcdir/$pkgname"
	make
}
pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() { 
	cd "$srcdir/$pkgname"
	./setup.sh
	./configure --prefix=/usr
}

package() {
	cd "$srcdir/$pkgname"
	make DESTDIR="$pkgdir/" install
}