diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-02-14 11:36:26 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-02-14 11:36:26 +0100 |
commit | 02da67c493edaddbd18ae62106a4d182ee825f63 (patch) | |
tree | 9b77a56eb454a0b20545e9ee40e804c9cb476401 /main/nano/APKBUILD | |
parent | 7938b12c08a43683c6e025408edceac28b18d7b4 (diff) | |
download | aports-02da67c493edaddbd18ae62106a4d182ee825f63.tar.bz2 aports-02da67c493edaddbd18ae62106a4d182ee825f63.tar.xz |
main/nano: upgrade to 2.5.2
Diffstat (limited to 'main/nano/APKBUILD')
-rw-r--r-- | main/nano/APKBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
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 <ms13sp@gmail.com> # Maintainer: Michael Zhou <zhoumichaely@gmail.com> 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" |