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 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_
${DEB_BUILD_ARCH}.deb
11 DBGDEB
=${PACKAGE}-dbgsym_
${DEB_VERSION_UPSTREAM_REVISION}_
${DEB_BUILD_ARCH}.deb
13 DSC
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}.dsc
23 rm -rf
${PKGDIR}/debian
24 cp
-a debian
${PKGDIR}/debian
25 echo
"git clone git://git.proxmox.com/git/pve-omping.git\\ngit checkout ${GITVERSION}" > ${PKGDIR}/debian
/SOURCE
31 cd
${PKGDIR}; dpkg-buildpackage
-b
-us
-uc
37 cd
${PKGDIR}; dpkg-buildpackage
-S
-us
-uc
-d
42 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist buster
--arch
${DEB_BUILD_ARCH}
48 rm -rf
*~
*_
${DEB_BUILD_ARCH}.deb
*.changes
*.dsc
*.diff.gz
*.buildinfo
${PKGDIR}