You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 line
470 B
Bash
12 line
470 B
Bash
#!/bin/bash
|
|
# $1 is the binary location, $2 is the arch, $3 is the svg icon
|
|
mkdir out
|
|
sed -i '/Architecture:/d' debian/DEBIAN/control
|
|
echo "Architecture: $2" >> debian/DEBIAN/control
|
|
rm -rf debian/usr/lib/helpinghelena-desktop
|
|
mv "$1com.netsyms.HelpingHelena" "$1helpinghelena-desktop"
|
|
mkdir -p debian/usr/lib
|
|
rsync -rv "$1" debian/usr/lib/helpinghelena-desktop
|
|
cp "$3" debian/usr/lib/helpinghelena-desktop/logo.svg
|
|
dpkg-deb -b debian "out/helpinghelena-desktop_$2.deb"
|