mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-12 21:20:55 +00:00
f533a53902
Update PKGBUILD based on https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ccextractor
22 lines
536 B
Bash
22 lines
536 B
Bash
pkgname=ccextractor
|
|
pkgver=0.94
|
|
pkgrel=1
|
|
pkgdesc="A closed captions and teletext subtitles extractor for video streams."
|
|
arch=('i686' 'x86_64')
|
|
url="https://www.ccextractor.org"
|
|
license=('GPL')
|
|
depends=('gcc-libs' 'tesseract' 'leptonica' 'ffmpeg' 'rust' 'clang')
|
|
source=(
|
|
https://github.com/CCExtractor/ccextractor/releases/download/v$pkgver/ccextractor_minimal.tar.gz
|
|
)
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname/linux"
|
|
./build_hardsubx
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname/linux"
|
|
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
|
|
}
|