1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-24 12:00:42 +01:00
build/pkg/nano/build
David Oberhollenzer c69293f155 Bump nano version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-16 15:16:58 +02:00

20 lines
452 B
Text

VERSION="4.9.2"
SRCDIR="nano-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://ftp.gnu.org/gnu/nano"
SHA256SUM="d8a25eea942ecee2d57b8e037eb4b28f030f818b78773b8fcb994ed5835d2ef6"
DEPENDS="ncurses-dev toolchain"
build() {
run_configure "$1" --enable-utf8
make -j $NUMJOBS
}
deploy() {
make DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
check_update_simple "$URL" "nano" "tar.xz"
}