diff options
-rw-r--r-- | nano/Pkgfile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nano/Pkgfile b/nano/Pkgfile new file mode 100644 index 0000000..57f45c4 --- /dev/null +++ b/nano/Pkgfile @@ -0,0 +1,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 +} |