1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-14 23:47:11 +01:00
build/pkg/nano/build
David Oberhollenzer c05a047529 Bump nano version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-07 03:28:21 +02:00

24 lines
473 B
Text

VERSION="4.8"
SRCDIR="nano-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://ftp.gnu.org/gnu/nano"
SHA256SUM="c348f61c68ab1d573b308398212a09cd68c60fbee20f01a5bd4b50071a258e63"
DEPENDS="ncurses-dev toolchain"
prepare() {
return
}
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"
}