1 include /usr
/share
/dpkg
/pkg-info.mk
2 include /usr
/share
/dpkg
/architecture.mk
4 PACKAGE
=libpve-access-control
6 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
7 DSC
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}.dsc
9 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
11 GITVERSION
:=$(shell git rev-parse HEAD
)
22 cp
-a debian
${BUILDDIR}/
23 echo
"git clone git://git.proxmox.com/git/pve-access-control.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian
/SOURCE
28 cd
${BUILDDIR}; dpkg-buildpackage
-b
-us
-uc
34 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
39 tar cf
- ${DEB} | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist bullseye
--arch
${DEB_BUILD_ARCH}
43 rm -rf
${PACKAGE}-*/ *.deb
*.buildinfo
*.changes
${PACKAGE}*.
tar.gz
*.dsc
44 find .
-name
'*~' -exec
rm {} ';'