summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/nano/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD
index 02b0dbb9..f423c478 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"