tui-scripts/create_deb_package.sh

25 lines
619 B
Bash
Raw Normal View History

2024-04-06 14:43:20 +00:00
rm -rf tui-scripts*
mkdir -p tui-scripts_$(cat VERSION)-1/usr/local/bin
mkdir -p tui-scripts_$(cat VERSION)-1/DEBIAN
2024-03-16 15:34:40 +00:00
2024-04-06 14:43:20 +00:00
cat > tui-scripts_$(cat VERSION)-1/DEBIAN/control << EOL
Package: tui-scripts
2024-03-16 15:34:40 +00:00
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-06 14:28:21 +00:00
for script in a k g r s; do
2024-04-06 14:43:20 +00:00
cp $script tui-scripts_$(cat VERSION)-1/usr/local/bin
2024-03-16 15:34:40 +00:00
done
2024-04-06 14:43:20 +00:00
dpkg-deb --build tui-scripts_$(cat VERSION)-1
2024-03-16 15:34:40 +00:00