mirror of
https://github.com/pygos/build.git
synced 2024-11-24 12:00:42 +01:00
20 lines
452 B
Text
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"
|
|
}
|