5 BUILD_DIR
=${PACKAGE}-${PKGVER}
7 DEB
=${PACKAGE}_
${PKGVER}-${PKGREL}_all.deb
8 DSC
=${PACKAGE}_
${PKGVER}-${PKGREL}.dsc
11 # wget http://cdn.sencha.com/ext/gpl/ext-6.0.1-gpl.zip
12 # unzip ext-6.0.1-gpl.zip
15 extjs
/build
/ext-all.js \
16 extjs
/build
/ext-all-debug.js \
17 extjs
/build
/packages
/charts
/classic
/charts.js \
18 extjs
/build
/packages
/charts
/classic
/charts-debug.js \
21 extjs
/build
/classic
/theme-crisp \
22 extjs
/build
/packages
/charts
/classic
/crisp \
26 WWWEXT6DIR
=${DESTDIR}/usr
/share
/javascript
/extjs
30 ${BUILD_DIR}: debian extjs
33 rsync
-a debian
/ $@.tmp
/debian
35 rsync
-a extjs
/build
/ $@.tmp
/extjs
/build
37 cp extjs
/licenses
/license.txt
$@.tmp
/debian
/copyright
43 cd
${BUILD_DIR}; dpkg-buildpackage
-b
-us
-uc
49 cd
${BUILD_DIR}; tar czf ..
/${PACKAGE}_
${PKGVER}.orig.
tar.gz
*
50 cd
${BUILD_DIR}; dpkg-buildpackage
-S
-us
-uc
-nc
-d
55 install -d
${WWWEXT6DIR}
56 install -m
0644 ${EXTDATA} ${WWWEXT6DIR}
57 cp
-a extjs
/build
/classic
/locale
${WWWEXT6DIR}
58 cp
-a
${EXT_THEME} ${WWWEXT6DIR}
59 chown
-R www-data
:www-data
${WWWEXT6DIR}
63 tar cf
- ${DEB} | ssh repoman@repo.proxmox.com
-- upload
--product pve
,pmg
--dist stretch
70 rm -rf
${BUILD_DIR} ${BUILD_DIR}.tmp
*.deb
*.changes
*.buildinfo
*.orig.
tar.
* *.dsc
*.debian.
tar.
*
71 find .
-name
'*~' -exec
rm {} ';'