summaryrefslogtreecommitdiffstats
path: root/base/nano/Pkgfile
blob: c9b993d79f876c0d9cff9c549a5ba315ab308c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Description: Editeur de texte en console tout simple
# URL: http://www.nano-editor.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: 

name=nano
version=2.2.1
release=1
source=(http://www.nano-editor.org/dist/v2.2/$name-$version.tar.gz)

build() {
	cd $name-$version
	./configure --prefix=/usr \
	--enable-color \
	--enable-multibuffer \
	--enable-nanorc \
	--disable-x
	make
	make DESTDIR=$PKG install
	mkdir -p $PKG/etc/nano
	install -v -m644 -D doc/nanorc.sample $PKG/etc/nano/nanorc.sample
	rm $PKG/usr/share/info/dir
	rm -r $PKG/usr/share/nano/man-html
}