#Maintainer: Paul Marwick (toothandnail) #Former Maintainer(s): George Vlahavas (vlahavas~AT~gmail~DOT~com, gapan@zenwalk forums) #Anything commented out is optional and can be deleted. pkgname=nano pkgver=2.2.5 pkgrel=1 zenver=66 arch=i486 source=(http://www.nano-editor.org/dist/v2.2/$pkgname-$pkgver.tar.gz) sourcetemplate=http://zenwalk.pinguix.com/user-accounts/toothandnail/$pkgname/$pkgver/ docs=("install" "copying*" "changelog" "authors" "news" "todo" "thanks" "upgrad") url="http://www.nano-editor.org/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "nano (an open source alternative to the Pico text editor)" "Nano was started as an alternative to the Pico editor, due to" "restrictions in the Pico licence. It is a powerful, user friendly text" "editor with many options, including syntax highlighting." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --enable-utf8 --enable-all make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver cp $startdir/src/$pkgname-$pkgver/doc/faq.html $startdir/pkg/usr/doc/$pkgname-$pkgver/faq.html cp $startdir/src/$pkgname-$pkgver/doc/nanorc.sample $startdir/pkg/usr/doc/$pkgname-$pkgver/nanorc.sample cp $startdir/src/$pkgname-$pkgver/README* $startdir/pkg/usr/doc/$pkgname-$pkgver }