1 include /usr
/share
/dpkg
/pkg-info.mk
5 export VERSION
=${DEB_VERSION_UPSTREAM_REVISION}
8 XTERMJSTGZ
=xterm-
${XTERMJSVER}.tgz
10 XTERMDATA
= ${XTERMJSDIR}/dist/
14 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
16 DEB
=${PACKAGE}_
${VERSION}_all.deb
25 cp
-rpa
${SRCDIR} ${SRCDIR}.tmp
26 cp
-a debian
${SRCDIR}.tmp
/
27 cp
-ar ${XTERMJSDIR}/dist/* ${SRCDIR}.tmp
/www
28 echo
"git clone git://git.proxmox.com/git/pve-xtermjs.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}.tmp
/debian
/SOURCE
29 cd
${SRCDIR}.tmp
; dpkg-buildpackage
-b
-uc
-us
33 ${XTERMDATA}: ${XTERMJSTGZ}
38 download
${XTERMJSTGZ}:
39 wget https
://registry.npmjs.org
/xterm
/-/${XTERMJSTGZ} -O
${XTERMJSTGZ}.tmp
40 mv
${XTERMJSTGZ}.tmp
${XTERMJSTGZ}
44 tar cf
- ${DEB}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pmg
,pve
--dist stretch
51 rm -rf
*~ debian
/*~
*_
${ARCH}.deb
${SRCDIR}.tmp
${XTERMJSDIR} *_all.deb
*.changes
*.dsc
*.buildinfo