2018-04-05 10:41:18 +02:00
|
|
|
VERSION="530"
|
2018-01-15 01:05:03 +01:00
|
|
|
SRCDIR="less-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
|
|
URL="https://ftp.gnu.org/gnu/less/"
|
2018-04-05 10:41:18 +02:00
|
|
|
SHA256SUM="503f91ab0af4846f34f0444ab71c4b286123f0044a4964f1ae781486c617f2e2"
|
2019-02-27 14:22:03 +01:00
|
|
|
DEPENDS="ncurses-dev crt-dev"
|
2018-01-15 01:05:03 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1" --with-regex=regcmp
|
2018-01-15 01:05:03 +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-15 01:05:03 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
curl --silent -L "$URL" | grep -o ">less-[0-9.]*tar.gz<" | \
|
|
|
|
sed 's/>less-//g' | sed 's/.tar.gz<//g' | \
|
|
|
|
verson_find_greatest "$VERSION"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|