1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-14 23:47:11 +01:00
build/pkg/iana-etc/build
David Oberhollenzer fa4eff263b Cleanup: implement defaults for package functions
This commit adds an "emptypackage" template that implements defaults
for all package functions and is included before every package.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-16 15:16:58 +02:00

15 lines
407 B
Text
Executable file

VERSION="1"
SRCDIR="iana-etc-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="http://infraroot.at/pygos"
SHA256SUM="1d38d5d90fa04e6f2cca46aad575d1b1c63d9443150abf66fe4dfaf0409358c2"
DEPENDS="toolchain"
deploy() {
local SOURCE="$1"
mkdir -p "$PKGDEPLOYDIR/etc"
cp "$SOURCE/protocols" "$PKGDEPLOYDIR/etc"
cp "$SOURCE/services" "$PKGDEPLOYDIR/etc"
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}