Commit 240f73d1 authored by Leo's avatar Leo

main/nano: upgrade to 4.6

parent 8580928a
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nano
pkgver=4.5
pkgver=4.6
pkgrel=0
pkgdesc="Enhanced clone of the Pico text editor"
url="https://www.nano-editor.org"
......@@ -9,11 +9,9 @@ arch="all"
license="GPL-3.0-or-later"
makedepends="file-dev linux-headers ncurses-dev"
subpackages="$pkgname-doc $pkgname-syntax::noarch"
source="https://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
source="https://www.nano-editor.org/dist/v${pkgver%.*}/nano-$pkgver.tar.xz"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -21,19 +19,15 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls \
--with-wordbounds
--disable-nls
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 doc/sample.nanorc \
"$pkgdir"/etc/nanorc
......@@ -53,4 +47,4 @@ syntax() {
"$subpkgdir"/usr/share/$pkgname/
}
sha512sums="1caee1f559cb11efa7535f4682e7ff6e22802d01ca21733a67031e4ba7c5d3ca13c60f22f71460bb99eadd8d001aeb3783a5e34d1433583e8822fc13d063e4d9 nano-4.5.tar.xz"
\ No newline at end of file
sha512sums="c448722d522278cfbef2265979670a6a952f2bd2eea9238c680eb3ba6f17a69cff37408d9b4796235c381cd25604536c62a9ee9183001a16563aad152add52d5 nano-4.6.tar.xz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment