1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-06-29 14:30:14 +02:00
build/pkg/bash-completion/build
David Oberhollenzer 8fa44569d8 cleanup: remove deploy directory argument from package command
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-06 10:03:12 +01:00

29 lines
729 B
Plaintext
Executable file

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"
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"
}