1 include /usr
/share
/dpkg
/pkg-info.mk
5 export VERSION
=${DEB_VERSION_UPSTREAM_REVISION}
8 XTERMJSTGZ
=xterm-
${XTERMJSVER}.tgz
12 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
14 DEB
=${PACKAGE}_
${VERSION}_all.deb
23 cp
-rpa
${SRCDIR} ${SRCDIR}.tmp
24 cp
-a debian
${SRCDIR}.tmp
/
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
31 X_EXCLUSIONS
=--exclude
=addons
/attach
--exclude
=addons
/fullscreen
--exclude
=addons
/search \
32 --exclude
=addons
/terminado
--exclude
=addons
/webLinks
--exclude
=addons
/zmodem
35 wget https
://registry.npmjs.org
/xterm
/-/${XTERMJSTGZ} -O
${XTERMJSTGZ}.tmp
36 mv
${XTERMJSTGZ}.tmp
${XTERMJSTGZ}
37 tar -C
$(SRCDIR
)/www
-xf
${XTERMJSTGZ} package
/dist --strip-components
=2 ${X_EXCLUSIONS}
42 tar cf
- ${DEB}|ssh
-X repoman@repo.proxmox.com
-- upload
--product pmg
,pve
--dist stretch
49 rm -rf
*~ debian
/*~
*_
${ARCH}.deb
${SRCDIR}.tmp
${XTERMJSDIR} *_all.deb
*.changes
*.dsc
*.buildinfo