tui-scripts/create_deb_package.sh

25 lines
622 B
Bash
Raw Normal View History

2024-03-29 07:33:27 +00:00
rm -rf gui-scripts*
2024-03-16 15:34:40 +00:00
mkdir -p gui-scripts_$(cat VERSION)-1/usr/local/bin
mkdir -p gui-scripts_$(cat VERSION)-1/DEBIAN
cat > gui-scripts_$(cat VERSION)-1/DEBIAN/control << EOL
Package: gui-scripts
Version: $(cat VERSION)-1
Section: base
Priority: optional
Architecture: amd64
Depends: fzf, dialog (>= 1.3), xdotool, x11-xkb-utils
Maintainer: Konstantin Shutkin <digitalstudium001@gmail.com>
Description: GUI scripts
GUI scripts for popular cli tools, based on dialog and fzf
EOL
2024-04-01 04:44:44 +00:00
for script in a e g lk r s; do
2024-03-16 15:34:40 +00:00
cp $script gui-scripts_$(cat VERSION)-1/usr/local/bin
done
dpkg-deb --build gui-scripts_$(cat VERSION)-1