abinfo "Creating the packaging directory ..."
mkdir -pv "$PKGDIR"

abinfo "Copying files ..."
cp -av "$SRCDIR"/{etc,usr} "$PKGDIR"/

abinfo "Installing u-boot-menu configurations ..."
install -Dvm644 "$SRCDIR"/read-config \
    "$PKGDIR"/usr/share/u-boot-menu/read-config

abinfo "Installing u-boot-update executable ..."
install -Dvm755 "$SRCDIR"/u-boot-update \
    "$PKGDIR"/usr/bin/u-boot-update

abinfo "Installing man page ..."
install -Dvm644 "$SRCDIR"/u-boot-update.8 \
    "$PKGDIR"/usr/share/man/man8/u-boot-update.8
