# Contributor: ms13sp # Maintainer: ms13sp pkgname=nano pkgver=2.2.0 pkgrel=0 pkgdesc="Text Editor. GNU nano is designed to be a free replacement for the Pico text editor." url="http://www.nano-editor.org/" license="GPL" depends= makedepends="ncurses-dev" install= subpackages="$pkgname-doc" source="http://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-tiny \ --disable-nls \ --disable-speller make || return 1 } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } md5sums="b34ea8fac9563b0485f39a065b5893bf nano-2.2.0.tar.gz"