2018-06-17 22:10:00 +02:00
|
|
|
VERSION="2.8"
|
|
|
|
SRCDIR="bash-completion-upstream-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
|
|
URL="https://salsa.debian.org/debian/bash-completion/-/archive/upstream/${VERSION}/"
|
|
|
|
SHA256SUM="50985e7f1a1adc8e05cbea56f0f9753b5600f6ea176b42583184f300b1eed5ea"
|
2019-02-27 14:22:03 +01:00
|
|
|
DEPENDS="bash bash-dev"
|
|
|
|
SUBPKG="bash-completion bash-completion-dev"
|
2018-01-19 00:45:35 +01:00
|
|
|
|
|
|
|
prepare() {
|
2018-06-17 22:10:00 +02:00
|
|
|
autoreconf --force --install --symlink
|
2018-01-19 00:45:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1"
|
2018-01-19 00:45:35 +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-19 00:45:35 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
2018-06-17 22:10:00 +02:00
|
|
|
curl --silent -L "https://salsa.debian.org/debian/bash-completion/tags" | \
|
|
|
|
grep -o "upstream/[0-9.]*" | cut -d/ -f2 | sort -u | \
|
2018-05-06 17:23:31 +02:00
|
|
|
verson_find_greatest "$VERSION"
|
|
|
|
}
|