blob: f01605a5e9b450a8f5db91ee91235c394dce934f (
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
|
# Maintainer: Timofey Titovets <nefelim4ag@gmail.com>
pkgname=nfs-ganesha-git
pkgver=10720.437cb6711
pkgrel=1
pkgdesc="Nfs-ganesha supports both the NFS and 9P protocols."
arch=('any')
url="http://nfs-ganesha.github.io/"
license=('GPL3')
depends=()
makedepends=('git' 'cmake' 'gcc' 'bison' 'flex')
source=("$pkgname"::'git://github.com/nfs-ganesha/nfs-ganesha.git')
md5sums=('SKIP')
pkgver() {
cd ${pkgname}
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
prepare() {
cd ${pkgname}
git submodule update --init
}
package() {
cd "${pkgname}"
cmake src/ -DUSE_9P=OFF
make
}
|