diff options
Diffstat (limited to 'main/nano/APKBUILD')
-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" |