1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
=proxmox-archive-keyring
5 GITVERSION
:=$(shell git rev-parse HEAD
)
7 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
16 mkdir
-p
${BUILD_DIR}/debian
17 cp
-ar debian
/* ${BUILD_DIR}/debian
/
18 echo
"git clone git://git.proxmox.com/git/proxmox-archive-keyring.git\\ngit checkout ${GITVERSION}" > ${BUILD_DIR}/debian
/SOURCE
19 cd
${BUILD_DIR}; dpkg-buildpackage
-b
-uc
-us
24 tar cf
- ${DEB}|ssh repoman@repo.proxmox.com
-- upload
--product pve
,pmg
,pbs
--dist buster
--arch
${ARCH}
31 rm -rf
*~
${BUILD_DIR} *.deb
*.dsc
*.changes
*.buildinfo