6 PKGDIR
=${PACKAGE}-${PKGVERSION}
7 PKGSRC
=${PACKAGE}_
${PKGVERSION}.orig.
tar.gz
9 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
10 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
12 DEBS
= ${PACKAGE}_
${PKGVERSION}-${PKGRELEASE}_
${ARCH}.deb
19 cp
-a debian
${PKGDIR}/debian
20 echo
"git clone git://git.proxmox.com/git/pve-omping.git\\ngit checkout ${GITVERSION}" > ${PKGDIR}/debian
/SOURCE
21 cd
${PKGDIR}; dpkg-buildpackage
-rfakeroot
-b
-us
-uc
25 tar -cf
- ${DEBS} | ssh repoman@repo.proxmox.com upload
31 rm -rf
*~
*_
${ARCH}.deb
*.changes
*.dsc
${PKGDIR}