4 XTERMJSTGZ
=xterm-
${XTERMJSVER}.tgz
6 XTERMDATA
= ${XTERMJSDIR}/dist/
10 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
11 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
13 DEB
=${PACKAGE}_
${VERSION}_
${ARCH}.deb
22 cp
-rpa
${SRCDIR} ${SRCDIR}.tmp
23 cp
-a debian
${SRCDIR}.tmp
/
24 cp
-ar ${XTERMJSDIR}/dist/* ${SRCDIR}.tmp
/www
25 echo
"git clone git://git.proxmox.com/git/pve-xtermjs.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}.tmp
/debian
/SOURCE
26 cd
${SRCDIR}.tmp
; dpkg-buildpackage
-b
-uc
-us
30 ${XTERMDATA}: ${XTERMJSTGZ}
35 download
${XTERMJSTGZ}:
36 wget https
://registry.npmjs.org
/xterm
/-/${XTERMJSTGZ} -O
${XTERMJSTGZ}.tmp
37 mv
${XTERMJSTGZ}.tmp
${XTERMJSTGZ}
41 tar cf
- ${DEB}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pmg
,pve
--dist stretch
48 rm -rf
*~ debian
/*~
*_
${ARCH}.deb
${SRCDIR}.tmp
${XTERMJSDIR} *_all.deb
*.changes
*.dsc
*.buildinfo