2019-09-17 21:33:06 +02:00
|
|
|
VERSION="4.4"
|
2018-01-11 21:34:34 +01:00
|
|
|
SRCDIR="nano-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.xz"
|
2019-09-17 21:33:06 +02:00
|
|
|
URL="https://ftp.gnu.org/gnu/nano"
|
|
|
|
SHA256SUM="2af222e0354848ffaa3af31b5cd0a77917e9cb7742cd073d762f3c32f0f582c7"
|
2019-03-30 23:28:30 +01:00
|
|
|
DEPENDS="ncurses-dev toolchain"
|
2018-01-11 21:34:34 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1" --enable-utf8
|
2018-01-11 21:34:34 +01:00
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2018-01-11 21:34:34 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
2019-07-07 16:17:16 +02:00
|
|
|
check_update_simple "$URL" "nano" "tar.xz"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|