1 #Contributor: Rafael Garcia <rafael.garcia.gallego@gmail.com>
6 pkgdesc="Simple ncurses text editor, latest hg pull"
7 url="http://tools.suckless.org/sandy/"
13 makedepends=('mercurial' 'sed' 'pkgconfig')
14 optdepends=('dmenu: X11 integration' 'xsel: X11 integration')
18 _hgroot='http://hg.suckless.org/'
24 # update the repo, else clone a new one
25 if [ -d $_hgrepo ]; then
30 hg clone ${_hgroot}/${_hgrepo}
34 make PREFIX=/usr DESTDIR=$pkgdir clean install || return 1
36 mkdir -p $startdir/pkg/usr/share/licenses/sandy
37 cp LICENSE $startdir/pkg/usr/share/licenses/sandy