4 PKGDIR
=${PACKAGE}-${PKGVERSION}
5 PKGSRC
=${PACKAGE}_
${PKGVERSION}.orig.
tar.gz
7 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
8 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
10 DEBS
= ${PACKAGE}_
${PKGVERSION}-${PKGRELEASE}_
${ARCH}.deb
17 rm -rf
${PKGDIR}/debian
18 cp
-a debian
${PKGDIR}/debian
19 echo
"git clone git://git.proxmox.com/git/pve-omping.git\\ngit checkout ${GITVERSION}" > ${PKGDIR}/debian
/SOURCE
20 cd
${PKGDIR}; dpkg-buildpackage
-b
-us
-uc
24 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist buster
--arch
${ARCH}
30 rm -rf
*~
*_
${ARCH}.deb
*.changes
*.dsc
${PKGDIR}