aboutsummaryrefslogtreecommitdiffstats
path: root/main/nano
diff options
context:
space:
mode:
authorƁukasz Jendrysik <scadu@yandex.com>2017-01-14 17:55:11 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-01-14 18:13:32 +0100
commit1f0da740457bd5255050693f1ebbb9ce91401d9e (patch)
tree6b32c671280a4801faa4875b9c27a367aa6dfbf9 /main/nano
parent4602115591419728f377a8869f3e2c856aac5719 (diff)
downloadaports-1f0da740457bd5255050693f1ebbb9ce91401d9e.tar.bz2
aports-1f0da740457bd5255050693f1ebbb9ce91401d9e.tar.xz
main/nano: upgrade to 2.7.4
Diffstat (limited to 'main/nano')
-rw-r--r--main/nano/APKBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD
index 850af16fb8..3bbd36ac99 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.7.3
+pkgver=2.7.4
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/"
@@ -10,10 +10,9 @@ license="GPL"
depends=
makedepends="ncurses-dev file-dev"
subpackages="$pkgname-doc $pkgname-syntax::noarch"
-source="http://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.gz
- "
-
+source="http://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
+
build() {
cd "$builddir"
./configure \
@@ -31,7 +30,7 @@ build() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
- install -Dm644 doc/nanorc.sample \
+ install -Dm644 doc/sample.nanorc \
"$pkgdir"/etc/nanorc || return 1
# Proper syntax highlighting for APKBUILDs
@@ -48,6 +47,6 @@ syntax() {
"$subpkgdir"/usr/share/$pkgname/ || return 1
}
-md5sums="007ba6321212d3ec38f46236465b6ea8 nano-2.7.3.tar.gz"
-sha256sums="3574d4594d051f3b572c47d63bfc3763fb1148c50b811ba7a016bacd94887a88 nano-2.7.3.tar.gz"
-sha512sums="cd159cf193f05b37f770ac79e532fe96be158688d241ab7090861016fe0da9dde2ab504d0703b8feea8043e1deded3f10f0ab4dd5cceba99fe4a1dfcf5062b0b nano-2.7.3.tar.gz"
+md5sums="e3a6b2740eb31f8a06d585f44d883895 nano-2.7.4.tar.gz"
+sha256sums="23ffc2de52d687739fed6dc2fc94df36aa7da7bb52c8740c523fdd7336fdbc8c nano-2.7.4.tar.gz"
+sha512sums="029fa2ef72a8762f376f1cfc3f4cdcabfcb226868e5c68c5980162333099f23e74e77da2dda66b4e70e2840b9a0e472db821248327b417b3cf5132093eeb80ee nano-2.7.4.tar.gz"