2019-09-17 21:05:50 +02:00
|
|
|
VERSION="2.9"
|
2018-06-17 22:10:00 +02:00
|
|
|
SRCDIR="bash-completion-upstream-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
|
|
URL="https://salsa.debian.org/debian/bash-completion/-/archive/upstream/${VERSION}/"
|
2019-09-17 21:05:50 +02:00
|
|
|
SHA256SUM="3b3a40a53e5c7f78b78339fc722e2ff5924ab1358e49deb5ca922e6c0f052948"
|
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"
|
|
|
|
}
|