From 9b05ded694eda3ea8cf004901909066d5f83cdb8 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 10 Dec 2009 15:57:53 +0000 Subject: main/nano: upgrade to 2.2.0 --- main/nano/APKBUILD | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD index 02b0dbb99..f423c4788 100644 --- a/main/nano/APKBUILD +++ b/main/nano/APKBUILD @@ -1,9 +1,8 @@ # Contributor: ms13sp # Maintainer: ms13sp 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" -- cgit v1.2.3