2009-10-31 14:40:03 +00:00
|
|
|
# Maintainer: Mike Staszel <mikestaszel@openpogo.com>
|
2009-10-08 03:40:19 +00:00
|
|
|
# Contributor: Judd <judd@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=nano
|
|
|
|
pkgver=2.0.9
|
|
|
|
pkgrel=2
|
|
|
|
pkgdesc="Pico editor clone with enhancements"
|
2009-10-31 14:40:03 +00:00
|
|
|
arch=(i686 x86_64 arm)
|
2009-10-08 03:40:19 +00:00
|
|
|
license=('GPL')
|
|
|
|
url="http://www.nano-editor.org"
|
|
|
|
groups=('base')
|
|
|
|
depends=('glibc' 'ncurses' 'texinfo')
|
|
|
|
source=(http://www.nano-editor.org/dist/v2.0/nano-${pkgver}.tar.gz)
|
|
|
|
backup=(etc/nanorc)
|
|
|
|
md5sums=('2be94dc43fb60fff4626a2401a977220')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --enable-color --enable-nanorc \
|
|
|
|
--enable-multibuffer --disable-wrapping-as-root
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
install -DTm644 ${srcdir}/${pkgname}-${pkgver}/doc/nanorc.sample ${pkgdir}/etc/nanorc
|
|
|
|
|
|
|
|
rm -f ${pkgdir}/usr/share/info/dir
|
|
|
|
}
|