summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: cfe4628d1598fb0d813c92c3d11f5aa2ec049300 (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
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
# Maintainer (AUR): Nicolas Perrin <booloki@lokizone.net>
# Contributor (AUR): Chris Clonch <chris at theclonchs dot com>
# Contributor (AUR): Nathan Owe <ndowens04 at gmail>
# Contributor (AUR): Chris Allison <daemon@cca.me.uk>

# # I maintain this because:
# AUR version does not set source name

pkgname=ccextractor
pkgver=0.91
pkgrel=1
pkgdesc="A fast closed captions extractor for MPEG files."
arch=('i686' 'x86_64')
url="https://www.ccextractor.org"
license=('GPL')
depends=('gcc-libs' 'tesseract' 'leptonica' 'ffmpeg')
source=(
   $pkgname-$pkgver.tar.gz::https://github.com/CCExtractor/ccextractor/archive/v$pkgver.tar.gz
)
b2sums=('594574886bff44b54c99e62cd1ce449a14610fc0eb61c34d633afa91c69ae0ddbc211babb4eb8746b0061fee3ee9de0c5e9dbe317d8347a259ebcb229a388fff')

build() {
  cd "$srcdir/$pkgname-$pkgver/linux"
  ./build_hardsubx
}

package() {
  cd "$srcdir/$pkgname-$pkgver/linux"
  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
}