Warning, /pim/kube/dist/flatpak/README is written in an unsupported language. File is not indexed.
0001 The following makefile illustrates how this is built. 0002 0003 0004 SSHSERVER=user@server 0005 GPG_HOMEDIR=../gpg 0006 GPG_KEY=gpgkeyid 0007 UPLOADDIR=/directory/on/server/flatpak 0008 LOCALREPO=repo 0009 KUBEPATH=/path/to/this/directory 0010 0011 build: 0012 mkdir -p ${LOCALREPO} 0013 mkdir -p build 0014 echo "Building kube" 0015 flatpak-builder -v --force-clean --ccache --gpg-homedir=${GPG_HOMEDIR} --gpg-sign=${GPG_KEY} --repo=${LOCALREPO} --subject="Build of Kube `date`" build ${KUBEPATH}/com.kubeproject.kube.json 0016 echo "Building experimental kube" 0017 flatpak-builder -v --force-clean --ccache --gpg-homedir=${GPG_HOMEDIR} --gpg-sign=${GPG_KEY} --repo=${LOCALREPO} --subject="Build of Kube `date`" build ${KUBEPATH}/com.kubeproject.kube.experimental.json 0018 echo "Finalizing" 0019 flatpak build-update-repo ${LOCALREPO} --prune --prune-depth=20 --generate-static-deltas --gpg-homedir=${GPG_HOMEDIR} --gpg-sign=${GPG_KEY} 0020 echo "Signing" 0021 flatpak build-sign ${LOCALREPO} com.kubeproject.kube --gpg-homedir=${GPG_HOMEDIR} --gpg-sign=${GPG_KEY} 0022 0023 upload: 0024 rsync -Paz --delete -e 'ssh -oBatchMode=yes' ${LOCALREPO}/ ${SSHSERVER}:${UPLOADDIR}/repo/ 0025 scp -B ${KUBEPATH}/com.kubeproject.kube.flatpakref ${SSHSERVER}:${UPLOADDIR}/ 0026 0027 .PHONY: build 0028 .PHONY: upload 0029 .NOTPARALLEL: build