1 # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
6 pkgdesc="Pico editor clone with enhancements (SVN)"
9 url="http://www.nano-editor.org"
10 depends=('glibc' 'ncurses')
11 makedepends=('texinfo' 'subversion' 'cvs')
18 _svntrunk=svn://svn.savannah.gnu.org/nano/trunk/nano
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 # clean (no .svn files everwyhere)
32 svn export $_svnmod $_svnmod-build
37 ./configure --prefix=/usr --sysconfdir=/etc --enable-color --enable-nanorc --enable-multibuffer
39 make DESTDIR=$startdir/pkg install || return 1
41 install -DTm644 $startdir/src/$_svnmod-build/doc/nanorc.sample $startdir/pkg/etc/nanorc