1 include /usr
/share
/dpkg
/pkg-info.mk
2 include /usr
/share
/dpkg
/architecture.mk
5 PKGDIR
=${PACKAGE}-${DEB_VERSION_UPSTREAM}
6 PKGSRC
=${PACKAGE}_
${DEB_VERSION_UPSTREAM}.orig.
tar.gz
8 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
10 DEBS
= ${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_
${DEB_BUILD_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
${DEB_BUILD_ARCH}
30 rm -rf
*~
*_
${DEB_BUILD_ARCH}.deb
*.changes
*.dsc
*.buildinfo
${PKGDIR}