talimat 644 B

12345678910111213141516171819202122232425262728
  1. # Description: A simple text editor which aims to replace Pico, the default editor in the Pine package.
  2. # URL: http://www.nano-editor.org/
  3. # Packager: milisarge@gmail.com
  4. name=nano
  5. version=2.5.2
  6. release=1
  7. #PAKET_LOKAL="hepsi"
  8. source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
  9. build() {
  10. cd $name-$version
  11. ./configure --prefix=/usr \
  12. --sysconfdir=/etc \
  13. --enable-utf8 \
  14. --enable-color \
  15. --enable-multibuffer \
  16. --enable-nanorc \
  17. --docdir=/usr/share/doc/nano-$version \
  18. --disable-x
  19. make
  20. make DESTDIR=$PKG install
  21. mkdir -p $PKG/etc/nano
  22. install -v -m644 -D doc/nanorc.sample $PKG/etc/nano/nanorc.sample
  23. rm $PKG/usr/share/info/dir
  24. }