5
0
mirror of git://git.proxmox.com/git/novnc-pve.git synced 2024-12-22 17:34:20 +03:00

add SOURCE file (reference to git repository)

This commit is contained in:
Dietmar Maurer 2014-06-13 09:29:23 +02:00
parent 0fbbbb73b3
commit 904d5108f7
2 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,7 @@ NOVNCSRC=${NOVNCDIR}.tgz
NOVNCVER=0.4
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
GITVERSION:=$(shell cat .git/refs/heads/master)
DEB=${PACKAGE}_${NOVNCVER}-${PKGREL}_${ARCH}.deb
@ -22,7 +23,10 @@ deb ${DEB}: ${TARSRC}
rm -rf ${NOVNCDIR}
tar xf ${NOVNCSRC}
mv ${NOVNCDIR}/debian ${NOVNCDIR}/debian.org
cp -a debian ${NOVNCDIR}/debian
cp -a debian ${NOVNCDIR}/debian
# fix file permissions
chmod 0644 ${NOVNCDIR}/include/jsunzip.js
echo "git clone git://git.proxmox.com/git/novnc-pve.git\\ngit checkout ${GITVERSION}" > ${NOVNCDIR}/debian/SOURCE
cd ${NOVNCDIR}; dpkg-buildpackage -b -uc -us
lintian ${DEB}

1
debian/docs vendored
View File

@ -1,2 +1,3 @@
README.md
LICENSE.txt
debian/SOURCE