milis/talimatname/temel/nano/talimat

28 lines
620 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: A simple text editor which aims to replace Pico, the default editor in the Pine package.
# URL: http://www.nano-editor.org/
# Paketçi: milisarge
# Gerekler:
name=nano
version=2.5.2
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-utf8 \
--enable-color \
--enable-multibuffer \
--enable-nanorc \
--docdir=/usr/share/doc/nano-$version \
--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
}