blob: 154ba3fc7c237e9e3ba7cbd1fe2ca5858d690738 (
plain)
1 # Description: GNU pico clone (a tiny text editor)
2 # URL: https://www.nano-editor.org
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: file ncurses bzip2 xz
5
6 name=nano
7 version=5.3
8 release=1
9 source=(https://www.nano-editor.org/dist/v${version%%.*}/$name-$version.tar.xz)
10
11 build(){
12 cd $name-$version
13 ./configure --prefix=/usr --disable-nls
14 make
15 make DESTDIR=$PKG install
16 install -D -m 644 doc/sample.nanorc $PKG/usr/etc/nanorc
17 rm -r $PKG/usr/share/{doc,info}
18 }
|