updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / u9fs-hg / PKGBUILD
blob66c92aa0f44f6b9207a454d9144f6884a3fbc99d
1 # Maintainer: Dave Reisner <dreisner@archlinux.org>
3 pkgname=u9fs-hg
4 pkgver=4
5 pkgrel=1
6 pkgdesc="Serve 9P from Unix"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/u9fs/"
9 license=('GPL')
10 makedepends=('mercurial')
11 provides=('u9fs')
12 conflicts=('u9fs')
14 _hgroot="https://code.google.com/p"
15 _hgrepo="u9fs"
17 build() {
18   cd "$srcdir"
20   rm -rf "$srcdir/$_hgrepo-build"
21   cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
22   cd "$srcdir/$_hgrepo-build"
24   make
27 package() {
28   cd "$srcdir/$_hgrepo-build"
30   install -Dm755 u9fs "$pkgdir/usr/bin/u9fs"
31   install -Dm644 u9fs.man "$pkgdir/usr/share/man/man4/u9fs.4"