blob: e223a7a21d5f0a64965ad236c5579862f09a7092 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer : Nicolas Perrin <booloki@lokizone.net>
# Contributor: Chris Clonch <chris at theclonchs dot com>
# Contributor: Nathan Owe <ndowens04 at gmail>
# Contributor: Chris Allison <daemon@cca.me.uk>
pkgname=ccextractor
pkgver=0.94
pkgrel=3
pkgdesc="A closed captions and teletext subtitles extractor for video streams."
arch=('x86_64')
url="https://www.ccextractor.org"
license=('GPL')
depends=('gcc-libs' 'tesseract' 'ffmpeg4.4')
makedepends=('rust' 'clang' 'ffmpeg4.4')
source=(
https://github.com/CCExtractor/ccextractor/releases/download/v$pkgver/ccextractor_minimal.tar.gz
)
sha512sums=('35ddcfb540f2b9a9354b81885c31c4fedd4385700401f71db59048a855f74bff045de8787e13dc8d772e1d3bf7d75ae8732c2d97a8148475502f0e0586b47aa9')
build() {
cd "$srcdir/$pkgname/linux"
export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
./autogen.sh
./configure
make
}
package() {
cd "$srcdir/$pkgname/linux"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
}
# vim:set ts=2 sw=2 et:
|