Commit 9b05ded6 authored by Natanael Copa's avatar Natanael Copa

main/nano: upgrade to 2.2.0

parent 246b8ca8
# Contributor: ms13sp <ms13sp@gmail.com>
# Maintainer: ms13sp <ms13sp@gmail.com>
pkgname=nano
pkgver=2.0.9
pkgmaj=2.0
pkgrel=2
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"
......@@ -11,7 +10,7 @@ depends=
makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
source="http://www.nano-editor.org/dist/v$pkgmaj/$pkgname-$pkgver.tar.gz"
source="http://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
......@@ -24,7 +23,11 @@ build() {
--disable-nls \
--disable-speller
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
md5sums="2be94dc43fb60fff4626a2401a977220 nano-2.0.9.tar.gz"
md5sums="b34ea8fac9563b0485f39a065b5893bf nano-2.2.0.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment