Files
ccextractor/package_creators/debian.sh
Carlos Fernandez 4a4911bcec chore: Bump version to 0.96.5
Update version number across all packaging and build files for the
0.96.5 release.

Files updated:
- docs/CHANGES.TXT - Added changelog entry
- src/lib_ccx/lib_ccx.h - VERSION define
- linux/configure.ac - AC_INIT version
- mac/configure.ac - AC_INIT version
- OpenBSD/Makefile - V variable
- package_creators/PKGBUILD - pkgver
- package_creators/ccextractor.spec - Version
- package_creators/debian.sh - VERSION
- packaging/chocolatey/ccextractor.nuspec - version
- packaging/chocolatey/tools/chocolateyInstall.ps1 - URL
- packaging/winget/*.yaml - PackageVersion and URLs

Note: SHA256 checksums in chocolatey and winget files will need to be
updated after the MSI is built.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 12:44:06 +01:00

45 lines
1.1 KiB
Bash

#!/bin/bash
TYPE="debian" # can be one of 'slackware', 'debian', 'rpm'
PROGRAM_NAME="ccextractor"
VERSION="0.96.5"
RELEASE="1"
LICENSE="GPL-2.0"
MAINTAINER="carlos@ccextractor.org"
REQUIRES="gcc,libcurl4-gnutls-dev,tesseract-ocr,tesseract-ocr-dev,libleptonica-dev"
../linux/pre-build.sh
out=$((LC_ALL=C dpkg -s checkinstall) 2>&1)
if [[ $out == *"is not installed"* ]]
then
read -r -p "You have not installed the package 'checkinstall'. Would you like to install it? [Y/N] " response
if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]]
then
apt-get install -y checkinstall
else
exit 0
fi
fi
(cd ../linux; ./autogen.sh; ./configure; make; sudo checkinstall \
-y \
--pkgrelease=$RELEASE \
--pkggroup="CCExtractor" \
--backup=no \
--install=no \
--type $TYPE \
--pkgname=$PROGRAM_NAME \
--pkgversion=$VERSION \
--pkglicense=$LICENSE \
--pakdir="../package_creators/build" \
--maintainer=$MAINTAINER \
--nodoc \
--requires=$REQUIRES;)
cd ../linux
make distclean
./cleanup
cd ../package_creators