opt/nano/Pkgfile

20 lines
558 B
Plaintext

# Description: GNU pico clone (a tiny text editor)
# URL: http://www.nano-editor.org
# Maintainer: Juergen Daubert, jue at crux dot nu
# Packager: Simone Rota, sip at crux dot nu
# Depends on: ncurses
name=nano
version=2.2.6
release=2
source=(http://www.nano-editor.org/dist/v2.2/$name-$version.tar.gz)
build(){
cd $name-$version
./configure --prefix=/usr --disable-nls --mandir=/usr/man
make
make DESTDIR=$PKG install
install -D -m 644 doc/nanorc.sample $PKG/usr/etc/nanorc
rm -r $PKG/usr/share/{info,nano/man-html}
}