2 PKGVER
!= dpkg-parsechangelog
-Sversion | cut
-d-
-f1
3 PKGREL
!= dpkg-parsechangelog
-Sversion | cut
-d-
-f2
5 GITVERSION
:=$(shell git rev-parse HEAD
)
10 DEB
=${PACKAGE}_
${PKGVER}-${PKGREL}_
${ARCH}.deb
11 DSC
=${PACKAGE}_
${PKGVER}-${PKGREL}.dsc
21 rsync
-a src
/ ${BUILDDIR}
22 rsync
-a debian
${BUILDDIR}/
23 echo
"git clone git://git.proxmox.com/git/pve-container\\ngit checkout ${GITVERSION}" > build
/debian
/SOURCE
28 cd build
; dpkg-buildpackage
-b
-us
-uc
35 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
-nc
41 rm -rf
*.deb
${PACKAGE}*.
tar.gz
*.changes
*.buildinfo
${DSC} ${BUILDDIR}
42 find .
-name
'*~' -exec
rm {} ';'
49 tar cf
- ${DEB} | ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
--dist stretch