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"
|
2018-01-24 12:52:41 +01:00
|
|
|
DEPENDS="bash"
|
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-02-16 23:22:04 +01:00
|
|
|
$1/configure --prefix="" --host="$TARGET"
|
2018-01-19 00:45:35 +01:00
|
|
|
|
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
local SOURCE="$1"
|
2018-02-16 23:22:04 +01:00
|
|
|
local DEPLOY="$2"
|
2018-01-19 00:45:35 +01:00
|
|
|
|
|
|
|
make DESTDIR="$DEPLOY" install
|
2018-06-16 17:46:17 +02:00
|
|
|
cp "$SCRIPTDIR/pkg/$PKGNAME/rootfs_files.txt" "$DEPLOY"
|
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"
|
|
|
|
}
|