blob: 57f45c42af634eb5ca40df6628ae0952f13adb5e (
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
26
27
28
|
description="A tiny text editor."
url=http://nano-editor.org
packager="Lukc (XMPP/STMP: lukc AT upyum DOT com)"
maintainer="Lukc (XMPP/STMP: lukc AT upyum DOT com)"
depends=(ncurses)
name=nano
version=2.2.5
release=1
source=(http://www.nano-editor.org/dist/v${version%.*}/$name-$version.tar.gz)
includes=(autotools)
if ! use nls; then
configure_opts=(
--disable-nls
)
fi
post_build() {
if ! use terminfo; then
rm -r $PKG/$sharedir/info
fi
if ! use nano; then
rm -r $PKG/$sharedir/nano
fi
rm $PKG/$bindir/rnano $PKG/$mandir/man1/rnano.1
}
|