mirror of https://github.com/KLayout/klayout.git
Generalized deb package generation for easier maintenance
This commit is contained in:
parent
d7b838ca0e
commit
07ea4f643e
|
|
@ -1,6 +1,6 @@
|
|||
klayout is packaged by Peter C.S. Scholtens <peter.scholtens@xs4all.nl>
|
||||
and Matthias Köfferlein <matthias@koefferlein.de>
|
||||
and was obtained from https://www.klayout.org/downloads/source/klayout-0.27.4.tar.gz
|
||||
and was obtained from https://www.klayout.org/downloads/source/klayout-%VERSION%.tar.gz
|
||||
|
||||
Authors:
|
||||
Matthias Köfferlein
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
klayout (%VERSION%) unstable; urgency=low
|
||||
|
||||
* New features and bugfixes
|
||||
- See changelog
|
||||
|
||||
-- Matthias Köfferlein <matthias@koefferlein.de> %NOW%
|
||||
|
||||
|
|
@ -39,7 +39,6 @@ version="${KLAYOUT_VERSION//-*/}"
|
|||
exe_name="klayout"
|
||||
bits=64
|
||||
|
||||
|
||||
umask 0022
|
||||
|
||||
echo "Checking $bits installation"
|
||||
|
|
@ -101,8 +100,8 @@ mkdir -p makedeb-tmp/${bindir}
|
|||
cp etc/klayout.desktop makedeb-tmp/${sharedir}/applications
|
||||
cp etc/logo.png makedeb-tmp/${sharedir}/pixmaps/klayout.png
|
||||
cp Changelog makedeb-tmp/${sharedir}/doc/klayout/changelog
|
||||
cp Changelog.Debian makedeb-tmp/${sharedir}/doc/klayout/changelog.Debian
|
||||
cp COPYRIGHT makedeb-tmp/${sharedir}/doc/klayout/copyright
|
||||
sed "s/%NOW%/$now/;s/%VERSION%/$version/" <Changelog.Debian.templ >makedeb-tmp/${sharedir}/doc/klayout/changelog.Debian
|
||||
sed "s/%VERSION%/$version/" <COPYRIGHT >makedeb-tmp/${sharedir}/doc/klayout/copyright
|
||||
|
||||
cp -pd $bininstdir/strm* makedeb-tmp/${bindir}
|
||||
cp -pd $bininstdir/klayout makedeb-tmp/${bindir}
|
||||
|
|
@ -115,7 +114,7 @@ for d in db tl rdb; do
|
|||
mkdir -p makedeb-tmp/${pylibdir}/$d
|
||||
cp -pd $bininstdir/pymod/klayout/$d/*py makedeb-tmp/${pylibdir}/$d
|
||||
done
|
||||
sed "s/%VERSION%/${KLAYOUT_VERSION//-*/}/g" <scripts/klayout.egg-info >makedeb-tmp/${distpackdir}/klayout.egg-info
|
||||
sed "s/%VERSION%/$version/g" <scripts/klayout.egg-info >makedeb-tmp/${distpackdir}/klayout.egg-info
|
||||
|
||||
cd makedeb-tmp
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue