67 lines
1.1 KiB
Plaintext
67 lines
1.1 KiB
Plaintext
#
|
|
# bash
|
|
#
|
|
|
|
# Package metadata
|
|
PACKAGE_NAME="bash"
|
|
PACKAGE_VER="5.2.015"
|
|
PACKAGE_DESC="GNU Bourne Again Shell"
|
|
MAINTAINER="liamwaldron@everestlinux.org"
|
|
LICENSE="GPL v3"
|
|
ARCH="x86"
|
|
INCLUDED_FILES=("/bin/bash")
|
|
|
|
# Integrity checking
|
|
SHA256SUMS="8b1079684f9aaf84de293771c78b83ff4b69588eeb34138ff331f26926dd1ae6"
|
|
|
|
# Dependency information
|
|
DEPENDS=("")
|
|
CONFLICTS=("")
|
|
|
|
# Source information
|
|
PACKAGE_SRC="https://github.com/robxu9/bash-static/releases/download/5.2.015-1.2.3-2/bash-linux-x86_64"
|
|
SOURCES="bash-linux-x86_64"
|
|
|
|
# Installation
|
|
getsource() {
|
|
wget $PACKAGE_SRC
|
|
}
|
|
|
|
buildpkg() {
|
|
chmod +x ${SOURCES}
|
|
}
|
|
|
|
installpkg() {
|
|
mkdir ${BLDR_OUT_DIR}/pkgs/bash
|
|
mv ${SOURCES} ${BLDR_OUT_DIR}/pkgs/bash/bash
|
|
touch ${BLDR_OUT_DIR}/pkgs/bash/.ispkg
|
|
}
|
|
|
|
installpkg_system() {
|
|
printf "Not supported for this package.\n"
|
|
exit 1
|
|
}
|
|
|
|
removepkg() {
|
|
rm -rf ${BLDR_OUT_DIR}/pkgs/bash
|
|
}
|
|
|
|
removepkg_system() {
|
|
printf "Not supported for this package.\n"
|
|
exit 1
|
|
}
|
|
|
|
updatepkg() {
|
|
buildpkg "$@"
|
|
installpkg "$@"
|
|
}
|
|
|
|
updatepkg_system() {
|
|
printf "Not supported for this package.\n"
|
|
exit 1
|
|
}
|
|
|
|
#
|
|
# end bash
|
|
#
|