1 # Maintainer: Michal Kowalski <kowalski TOD michal TA gmail TOD com>
6 pkgdesc="Library for writing 9P2000 compliant user-space file servers that can be mounted using v9fs file system"
8 url="http://sourceforge.net/projects/npfs/"
12 optdepends=('plan9port: the whole, useless Plan 9 shabang')
13 provides=('v9fs-server')
14 backup=('etc/conf.d/spfs.conf')
15 source=("http://downloads.sourceforge.net/project/npfs/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz" README spfs-install.patch spfs-rc.script spfs-conf.script)
16 md5sums=('2ae13d7454f4b3c6c8501ad74a113e56' '50053e6039d205158cc43873bbe8b330' '9a66cb801a9c2826376fbeaf4486c298' '21f7cf0db27498849ca1d7a889ad393d' '4c6b70e8b34878e96a87c20d5f98247b')
20 patch -p1 < ../spfs-install.patch
28 make INSTALLPREFIX="$pkgdir/usr" install
30 mkdir -p "$pkgdir/etc/rc.d"
31 cp ${srcdir}/spfs-rc.script ${pkgdir}/etc/rc.d/spfs
32 chmod +x $pkgdir/etc/rc.d/spfs
33 mkdir -p "$pkgdir/etc/conf.d"
34 cp ${srcdir}/spfs-conf.script ${pkgdir}/etc/conf.d/spfs.conf
37 # vim:set ts=2 sw=2 et: