1 # Maintainer: Jens Staal <staal1978@gmail.com>
6 pkgdesc="A 9P replacement of udev"
8 url="http://becquerel.org/dev9"
11 depends=('libduat-git' 'curie-git' 'libnl')
12 makedepends=('git' 'scons' 'pkg-config')
13 source=('rulesc.patch' 'dev9c.patch')
14 md5sums=('5a815402a6fb3271c65373bd1a3a0a47' 'a305b4d50d62b6c30768fbb9cd3f355a')
16 _gitroot=('git://git.becquerel.org/kyuba/dev9.git')
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull $_gitroot
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 cp -ar $srcdir/$_gitname $srcdir/build
31 patch src/rules.c -i $srcdir/rulesc.patch
32 patch src/dev9.c -i $srcdir/dev9c.patch
38 mkdir -p $pkgdir/usr/share/licenses/$_gitname
39 install -m644 $srcdir/$_gitname/COPYING $pkgdir/usr/share/licenses/$_gitname/COPYING
40 install -m644 $srcdir/$_gitname/CREDITS $pkgdir/usr/share/licenses/$_gitname/CREDITS