comparison deploy/linux/deploy-deb.sh @ 709:a13d89b87c2c

More deb package bits
author Chris Cannam
date Wed, 12 Dec 2018 11:29:35 +0000
parents 21e4df9865af
children 87d423722656
comparison
equal deleted inserted replaced
708:067252b1e732 709:a13d89b87c2c
46 46
47 cp images/icon/scalable/easyhg-icon.svg "$targetdir"/usr/share/pixmaps/ 47 cp images/icon/scalable/easyhg-icon.svg "$targetdir"/usr/share/pixmaps/
48 cp images/icon/128/easyhg-icon.png "$targetdir"/usr/share/pixmaps/ 48 cp images/icon/128/easyhg-icon.png "$targetdir"/usr/share/pixmaps/
49 cp deploy/linux/"$program".desktop "$targetdir"/usr/share/applications/ 49 cp deploy/linux/"$program".desktop "$targetdir"/usr/share/applications/
50 cp README.txt "$targetdir"/usr/share/doc/"$program"/ 50 cp README.txt "$targetdir"/usr/share/doc/"$program"/
51 cp COPYING "$targetdir"/usr/share/doc/"$program"/copyright
52 touch "$targetdir"/usr/share/doc/"$program"/changelog.Debian
53 gzip "$targetdir"/usr/share/doc/"$program"/changelog.Debian
51 54
52 perl -i -p -e "s/Architecture: .*/Architecture: $arch/" "$targetdir"/DEBIAN/control 55 perl -i -p -e "s/Architecture: .*/Architecture: $arch/" "$targetdir"/DEBIAN/control
53 56
54 deps=`bash "$depdir"/debian-dependencies.sh "$program"` 57 deps=`bash "$depdir"/debian-dependencies.sh "$program"`
55 58