base/src/iana-etc/pkg.sh

23 lines
500 B
Bash
Raw Permalink Normal View History

2024-07-21 16:37:19 +00:00
# general info
NAME="iana-etc"
DESC="Data for network services and protocols"
VERSION="20240125"
# required files
FILES=("https://github.com/Mic92/iana-etc/releases/download/${VERSION}/iana-etc-${VERSION}.tar.gz")
HASHES=("aed66d04de615d76c70890233081e584")
# install and build depends
DEPENDS=()
BUILD=()
2024-07-29 23:57:37 +00:00
PACKAGE(){
2024-07-21 16:37:19 +00:00
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
install -dm755 "${ROOTDIR}/etc"
cp services protocols "${ROOTDIR}/etc"
cd .. && rm -r "${NAME}-${VERSION}"
}