mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
David Oberhollenzer
d2432c1d1e
- rewrite the rootfs_files.txt listings to the format used by pkg - create package files from each package - use "pkg install" to manage installation of packages and dependencies into the rootfs and initrd staging dirs Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
30 lines
702 B
Text
Executable file
30 lines
702 B
Text
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"
|
|
|
|
prepare() {
|
|
autoreconf --force --install --symlink
|
|
}
|
|
|
|
build() {
|
|
run_configure "$1"
|
|
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
local SOURCE="$1"
|
|
local DEPLOY="$2"
|
|
|
|
make DESTDIR="$DEPLOY" install
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$DEPLOY"
|
|
}
|
|
|
|
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"
|
|
}
|