aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/nano/APKBUILD24
1 files changed, 7 insertions, 17 deletions
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD
index a0f14819fb..e1924b1f55 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.6.3
+pkgver=2.7.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/"
@@ -9,23 +9,13 @@ arch="all"
license="GPL"
depends=
makedepends="ncurses-dev"
-install=
subpackages="$pkgname-doc $pkgname-syntax"
source="http://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.gz
"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -39,7 +29,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 doc/nanorc.sample \
"$pkgdir"/etc/nanorc || return 1
@@ -59,6 +49,6 @@ syntax() {
"$subpkgdir"/usr/share/$pkgname/ || return 1
}
-md5sums="1213c7f17916e65afefc95054c1f90f9 nano-2.6.3.tar.gz"
-sha256sums="4f4054e12f2181c8e436163e931a0a565612242ff9e566c4d1adeda0f91fd503 nano-2.6.3.tar.gz"
-sha512sums="5079c0da976e3cfef9f3980e37c2501837bc66bb98fadd6fe7f02b061b83c99454678833fd43c74e6796cdc4ee9028ccba7a8a05e0f86e7a6517ba4d4c6bc95e nano-2.6.3.tar.gz"
+md5sums="0805c5b8c75d4fde053e4b1431270f91 nano-2.7.0.tar.gz"
+sha256sums="5dd1e9cf8e3de676c141a0b23f312e68380ef049926e2913e2114bbe32fbeac3 nano-2.7.0.tar.gz"
+sha512sums="d70719b9623e3b3c5f43dbf4dd1d53be5d498b28416d1c6bc4459887d34531222827dfb23bc6932a6304fe59df8d278810de813b4bc08b38c03f1badeddad12f nano-2.7.0.tar.gz"