mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
28 lines
729 B
Text
Executable file
28 lines
729 B
Text
Executable file
VERSION="2.9"
|
|
SRCDIR="bash-completion-upstream-${VERSION}"
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
URL="https://salsa.debian.org/debian/bash-completion/-/archive/upstream/${VERSION}/"
|
|
SHA256SUM="3b3a40a53e5c7f78b78339fc722e2ff5924ab1358e49deb5ca922e6c0f052948"
|
|
DEPENDS="bash bash-dev"
|
|
SUBPKG="bash-completion bash-completion-dev"
|
|
|
|
prepare() {
|
|
autoreconf --force --install --symlink
|
|
}
|
|
|
|
build() {
|
|
run_configure "$1"
|
|
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
|
}
|
|
|
|
check_update() {
|
|
curl --silent -L "https://salsa.debian.org/debian/bash-completion/tags" | \
|
|
grep -o "upstream/[0-9.]*" | cut -d/ -f2 | sort -u | \
|
|
verson_find_greatest "$VERSION"
|
|
}
|