HTML5 app for giving and receiving charity. https://helpinghelena.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

debian_build.sh 470B

1234567891011
  1. #!/bin/bash
  2. # $1 is the binary location, $2 is the arch, $3 is the svg icon
  3. mkdir out
  4. sed -i '/Architecture:/d' debian/DEBIAN/control
  5. echo "Architecture: $2" >> debian/DEBIAN/control
  6. rm -rf debian/usr/lib/helpinghelena-desktop
  7. mv "$1com.netsyms.HelpingHelena" "$1helpinghelena-desktop"
  8. mkdir -p debian/usr/lib
  9. rsync -rv "$1" debian/usr/lib/helpinghelena-desktop
  10. cp "$3" debian/usr/lib/helpinghelena-desktop/logo.svg
  11. dpkg-deb -b debian "out/helpinghelena-desktop_$2.deb"