summaryrefslogtreecommitdiffstats
path: root/base/nano/Pkgfile
blob: 233c36526e47fb9af37d34c1cb4d40b94bb34201 (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
# Description: Editeur de texte en console tout simple
# URL: http://www.nano-editor.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=nano
version=2.2.6
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
}