ccextractor/package_creators/PKGBUILD
2017-03-30 11:42:15 +05:30

23 lines
445 B
Bash

pkgname=ccextractor
pkgver=0.85
pkgrel=1
pkgdesc="A closed captions and teletext subtitles extractor for video streams."
arch=('i686' 'x86_64')
url="http://www.ccextractor.org"
license=('GPL')
depends=('gcc-libs' 'tesseract')
source=(
$pkgname-$pkgver.tar.gz
)
build() {
cd "$srcdir/$pkgname-$pkgver"
CC=gcc ./configure --enable-ocr --prefix="$pkgdir/usr/local"
make -j4
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make install
}