From 02da67c493edaddbd18ae62106a4d182ee825f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 14 Feb 2016 11:36:26 +0100 Subject: main/nano: upgrade to 2.5.2 --- main/nano/APKBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'main/nano') diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD index e98a7dc7dd..727bb44a2e 100644 --- a/main/nano/APKBUILD +++ b/main/nano/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Michael Mason # Maintainer: Michael Zhou pkgname=nano -pkgver=2.5.0 +pkgver=2.5.2 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/" @@ -15,7 +15,6 @@ 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 @@ -43,12 +42,13 @@ package() { cd "$_builddir" make DESTDIR="$pkgdir" install - mkdir -p "$pkgdir"/etc - cp "$srcdir/$pkgname-$pkgver"/doc/nanorc.sample "$pkgdir"/etc/nanorc + install -Dm644 "$_builddir"/doc/nanorc.sample \ + "$pkgdir"/etc/nanorc || return 1 + sed -i 's:# include:include:g' "$pkgdir"/etc/nanorc sed -i "/syntax/s/\"$/\" \"APKBUILD&/" "$pkgdir"/usr/share/nano/sh.nanorc } -md5sums="751ed96457017572bab15be18cb873ba nano-2.5.0.tar.gz" -sha256sums="ff323e6fef74caf0a924304841c07ac65ec30db99dc5c1f8272b4c536a5c89ee nano-2.5.0.tar.gz" -sha512sums="f05f1afa6a79ff6b87359c46fbdaf6161eacdc265ac6be155a0173e3ab5a17023e205d0b9667a942e754556182a9007fe4438f337a830d20b9546aad9d522ba6 nano-2.5.0.tar.gz" +md5sums="036830de22b8a76a0e6f84c0cb36ff12 nano-2.5.2.tar.gz" +sha256sums="89bd6ac5120880d2a95431d8bad22bf92c7ccbf10b8f1716d4ea062f3faeeb41 nano-2.5.2.tar.gz" +sha512sums="ec4e35cfb23494dd09c23b195556dfb36b9329007d61bdfe6a25a43c9914e432160969c92ed991bb2221ea5facd5ae1c1e9aef0029dfa259d827b7ea4943a1d3 nano-2.5.2.tar.gz" -- cgit v1.2.3