From 5d34a931adb2cb45741c6b623ecc4a167d54c334 Mon Sep 17 00:00:00 2001 From: newbluemoon Date: Wed, 24 Oct 2018 11:28:38 +0200 Subject: [PATCH] ccextractor: update to 0.87 --- srcpkgs/ccextractor/template | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template index d4e2f8581e..b76713fa2f 100644 --- a/srcpkgs/ccextractor/template +++ b/srcpkgs/ccextractor/template @@ -1,31 +1,25 @@ # Template file for 'ccextractor' pkgname=ccextractor -version=0.86 -revision=2 +version=0.87 +revision=1 build_wrksrc="linux" build_style=gnu-configure configure_args="--enable-ocr --enable-hardsubx" hostmakedepends="automake pkg-config" makedepends="leptonica-devel tesseract-ocr-devel ffmpeg-devel" -short_desc="Extract subtitles from video" +short_desc="Extract subtitles from video streams" maintainer="newbluemoon " license="GPL-2" -homepage="http://www.ccextractor.org/doku.php" +homepage="https://www.ccextractor.org/" +changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT" distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz" -checksum=0c24b00384244a2e58d63ad2ef1cb69b2e0824c7461f707d40e926d49136330a +checksum=10c3d88fba531aa6f5f6937e8eccc4df2ac96abaa4d77cb4a1b1349a8b94346f pre_configure() { sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac ./autogen.sh } -do_install() { - vbin ccextractor - for i in ../docs/*; do - if [ $i = "../docs/gpl-2.0.txt" ]; then - vlicense $i - else - vdoc "$i" - fi - done +post_install() { + vinstall ../docs/ccextractor.cnf.sample 644 usr/share/examples/ccextractor }