summaryrefslogtreecommitdiff
path: root/user/nano
diff options
context:
space:
mode:
Diffstat (limited to 'user/nano')
-rw-r--r--user/nano/APKBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/user/nano/APKBUILD b/user/nano/APKBUILD
index 02a0d0fdc..84ceb64f2 100644
--- a/user/nano/APKBUILD
+++ b/user/nano/APKBUILD
@@ -1,19 +1,18 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=nano
-pkgver=4.5
+pkgver=4.7
pkgrel=0
pkgdesc="Enhanced clone of the Pico text editor"
url="https://www.nano-editor.org"
arch="all"
license="GPL-3.0+"
+depends=""
makedepends="file-dev ncurses-dev"
subpackages="$pkgname-doc $pkgname-lang"
-replaces="nano-syntax" # ??? why was this ever split
source="https://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.xz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -26,13 +25,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
-
make DESTDIR="$pkgdir" install
install -Dm644 doc/sample.nanorc \
"$pkgdir"/etc/nanorc
@@ -44,4 +40,4 @@ package() {
rm -rf "$pkgdir"/usr/lib/charset.alias
}
-sha512sums="1caee1f559cb11efa7535f4682e7ff6e22802d01ca21733a67031e4ba7c5d3ca13c60f22f71460bb99eadd8d001aeb3783a5e34d1433583e8822fc13d063e4d9 nano-4.5.tar.xz"
+sha512sums="53fc587554ca639f27cfdd81adc8108e38adddae4fda9d73c3ebff57e546feaa45be7a2851da43bcdafd442e4834a42cc1f9eec1a99051a32410a712142f48c3 nano-4.7.tar.xz"