1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-19 03:56:14 +02:00
build/pkg/nano/build

21 lines
452 B
Plaintext
Raw Normal View History

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"
}