aboutsummaryrefslogtreecommitdiffstats
path: root/main/nano
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-10 15:57:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-10 15:57:53 +0000
commit9b05ded694eda3ea8cf004901909066d5f83cdb8 (patch)
tree1ac78f5ca0028fbf1c8f4f52ea76970cfa3ed048 /main/nano
parent246b8ca81f74c1bdf39fd8dcc9057ce03ef65cb6 (diff)
downloadaports-9b05ded694eda3ea8cf004901909066d5f83cdb8.tar.bz2
aports-9b05ded694eda3ea8cf004901909066d5f83cdb8.tar.xz
main/nano: upgrade to 2.2.0
Diffstat (limited to 'main/nano')
-rw-r--r--main/nano/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD
index 02b0dbb998..f423c47889 100644
--- a/main/nano/APKBUILD
+++ b/main/nano/APKBUILD
@@ -1,9 +1,8 @@
# 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"