Mail archive
alpine-aports

[alpine-aports] [PATCH 1/1] main/nano: upgrade to 2.7.0

From: Daniel Sabogal <dsabogalcc_at_gmail.com>
Date: Thu, 1 Sep 2016 23:12:08 -0400

---
 main/nano/APKBUILD | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD
index a0f1481..c3f16ff 100644
--- a/main/nano/APKBUILD
+++ b/main/nano/APKBUILD
_at_@ -1,7 +1,7 @@
 # Contributor: Michael Mason <ms13sp_at_gmail.com>
 # Maintainer: Michael Zhou <zhoumichaely_at_gmail.com>
 pkgname=nano
-pkgver=2.6.3
+pkgver=2.7.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/"
_at_@ -9,23 +9,14 @@ arch="all"
 license="GPL"
 depends=
 makedepends="ncurses-dev"
-install=
 subpackages="$pkgname-doc $pkgname-syntax"
 source="http://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.gz
 	"
 
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-}
+builddir="$srcdir/$pkgname-$pkgver"
 
 build() {
-	cd "$_builddir"
+	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
_at_@ -39,7 +30,7 @@ build() {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make DESTDIR="$pkgdir" install
 	install -Dm644 doc/nanorc.sample \
 		"$pkgdir"/etc/nanorc || return 1
_at_@ -59,6 +50,6 @@ syntax() {
 		"$subpkgdir"/usr/share/$pkgname/ || return 1
 }
 
-md5sums="1213c7f17916e65afefc95054c1f90f9  nano-2.6.3.tar.gz"
-sha256sums="4f4054e12f2181c8e436163e931a0a565612242ff9e566c4d1adeda0f91fd503  nano-2.6.3.tar.gz"
-sha512sums="5079c0da976e3cfef9f3980e37c2501837bc66bb98fadd6fe7f02b061b83c99454678833fd43c74e6796cdc4ee9028ccba7a8a05e0f86e7a6517ba4d4c6bc95e  nano-2.6.3.tar.gz"
+md5sums="0805c5b8c75d4fde053e4b1431270f91  nano-2.7.0.tar.gz"
+sha256sums="5dd1e9cf8e3de676c141a0b23f312e68380ef049926e2913e2114bbe32fbeac3  nano-2.7.0.tar.gz"
+sha512sums="d70719b9623e3b3c5f43dbf4dd1d53be5d498b28416d1c6bc4459887d34531222827dfb23bc6932a6304fe59df8d278810de813b4bc08b38c03f1badeddad12f  nano-2.7.0.tar.gz"
-- 
2.9.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Sep 01 2016 - 23:12:08 GMT