diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-03-31 16:48:37 +0200 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-03-31 15:38:22 +0000 |
commit | 53f3b73d03dab8a5bac7174a2a20e67e1c82c708 (patch) | |
tree | 59b263083a4753427c0b033722064ca14c203279 | |
parent | 900cfb9d2ada4890688b679ef15380570e5100fb (diff) | |
download | aports-53f3b73d03dab8a5bac7174a2a20e67e1c82c708.tar.bz2 aports-53f3b73d03dab8a5bac7174a2a20e67e1c82c708.tar.xz |
main/nano: upgrade to 2.8.0
* Add check function
* Remove charset.alias
-rw-r--r-- | main/nano/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD index ccdfc2f661..6d2c07fd89 100644 --- a/main/nano/APKBUILD +++ b/main/nano/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=nano -pkgver=2.7.4 -pkgrel=1 +pkgver=2.8.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/" arch="all" @@ -26,6 +26,11 @@ build() { make || return 1 } +check() { + cd "$builddir" + make check || return 1 +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install @@ -35,6 +40,8 @@ package() { # Proper syntax highlighting for APKBUILDs sed -i "/syntax/s/\"$/\" \"APKBUILD&/" \ "$pkgdir"/usr/share/nano/sh.nanorc || return 1 + + rm -rf "$pkgdir"/usr/lib/charset.alias || return 1 } syntax() { @@ -46,6 +53,4 @@ syntax() { "$subpkgdir"/usr/share/$pkgname/ || return 1 } -md5sums="e3a6b2740eb31f8a06d585f44d883895 nano-2.7.4.tar.gz" -sha256sums="23ffc2de52d687739fed6dc2fc94df36aa7da7bb52c8740c523fdd7336fdbc8c nano-2.7.4.tar.gz" -sha512sums="029fa2ef72a8762f376f1cfc3f4cdcabfcb226868e5c68c5980162333099f23e74e77da2dda66b4e70e2840b9a0e472db821248327b417b3cf5132093eeb80ee nano-2.7.4.tar.gz" +sha512sums="75631ddddf960aadfffb3d5df235e7b47118ee3050118927677a94036a87f9d7dfee9f0a75bd5dc6813c12e4edd51d7836c9173057d5caebf55ba9cfaafc6159 nano-2.8.0.tar.gz" |