| @ -0,0 +1 @@ | |||||
| 10 | |||||
| @ -0,0 +1 @@ | |||||
| 0.6 | |||||
| @ -0,0 +1,17 @@ | |||||
| #!/bin/bash | |||||
| VERSION=$(cat VERSION)r$(cat RELEASE) | |||||
| mkdir -p "lch-$VERSION/DEBIAN" | |||||
| echo -e "Package: lch | |||||
| Version: $VERSION | |||||
| Architecture: all | |||||
| Maintainer: HatThieves <webmaster@hatthieves.es> | |||||
| Depends: bash | |||||
| Homepage: https://lch.hatthieves.es | |||||
| Description: LCH - Linux Compressor Humanizer" > "lch-$VERSION/DEBIAN/control" | |||||
| mkdir -p "lch-$VERSION/usr/bin" "lch-$VERSION/usr/lib/lch" "lch-$VERSION/usr/share/man/man1" | |||||
| cp ./lch "lch-$VERSION/usr/bin" | |||||
| cp -r ./lib/* "lch-$VERSION/usr/lib/lch" | |||||
| gzip ./man/lch.1 -c > "lch-$VERSION/usr/share/man/man1/lch.1.gz" | |||||
| chmod 644 "lch-$VERSION/usr/share/man/man1/lch.1.gz" | |||||
| dpkg -b "lch-$VERSION" | |||||
| rm -rf "lch-$VERSION" | |||||
| @ -1,5 +0,0 @@ | |||||
| lch (0.6.10) unstable; urgency=medium | |||||
| * Initial release. | |||||
| -- Pedro Berrocal <pberr@hatthieves.es> Sun, 04 Oct 2020 00:51:43 +0200 | |||||
| @ -1 +0,0 @@ | |||||
| 10 | |||||
| @ -1,10 +0,0 @@ | |||||
| Source: lch | |||||
| Maintainer: Pedro Berrocal <pberr@hatthieves.es> | |||||
| Standards-Version: 0.6.10 | |||||
| Section: utils | |||||
| Build-Depends: debhelper (>= 10.2.5) | |||||
| Package: lch | |||||
| Architecture: all | |||||
| Description: Linux Compressor Humanizer | |||||
| Download it and forget about writing arguments. | |||||
| @ -1,7 +0,0 @@ | |||||
| Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |||||
| Upstream-Name: falcot-data | |||||
| Files: * | |||||
| Copyright: 2004-2019 Hatthieves | |||||
| License: | |||||
| All rights reserved. | |||||
| @ -1,41 +0,0 @@ | |||||
| #!/usr/bin/env bash | |||||
| if [ "$UID" != "0" ]; then | |||||
| echo " Only root can execute this script, sorry." | |||||
| echo " Try 'sudo $0'" | |||||
| exit 0 | |||||
| fi | |||||
| # Si existe el archivo lch | |||||
| if [[ -f "/usr/bin/lch" ]]; then | |||||
| rm /usr/bin/lch | |||||
| fi | |||||
| # Si existe el directorio lch | |||||
| if [[ -d "/usr/lib/lch" ]]; then | |||||
| rm -rf "/usr/lib/lch" | |||||
| fi | |||||
| # Si existe man | |||||
| if [ -x "$(command -v man)" ]; then | |||||
| # Si nulo manpath | |||||
| if [ -z "$MANPATH" ]; then | |||||
| MANPATH=$(manpath) | |||||
| fi | |||||
| MANDIR=${MANPATH%%:*}/man1 | |||||
| # Si man lch.1 | |||||
| if [[ -f "$MANDIR/lch.1" ]]; then | |||||
| rm "$MANDIR/lch.1" | |||||
| fi | |||||
| # Si man lch.1.gz | |||||
| if [[ -f "$MANDIR/lch.1.gz" ]]; then | |||||
| rm "$MANDIR/lch.1.gz" | |||||
| fi | |||||
| fi | |||||
| echo "==============================" | |||||
| echo " lch uninstalled successfully." | |||||
| echo -e "==============================\n" | |||||
| @ -1,15 +0,0 @@ | |||||
| #!/usr/bin/make -f | |||||
| %: | |||||
| dh $@ | |||||
| override_dh_usrlocal: | |||||
| override_dh_auto_install: | |||||
| ./bin/install.sh | |||||
| configure: | |||||
| clean: | |||||
| dh_autoreconf_clean | |||||
| dh_clean | |||||