From ab5544691a0e0dba07c424fc01626b01f6b01d14 Mon Sep 17 00:00:00 2001 From: Abhinav Baid Date: Wed, 29 Mar 2017 19:52:22 +0530 Subject: [PATCH] Initial commit --- package_creators/PKGBUILD | 22 ++++++++++++++++++++++ package_creators/arch.sh | 8 ++++++++ 2 files changed, 30 insertions(+) create mode 100644 package_creators/PKGBUILD create mode 100755 package_creators/arch.sh diff --git a/package_creators/PKGBUILD b/package_creators/PKGBUILD new file mode 100644 index 00000000..4bc1e96f --- /dev/null +++ b/package_creators/PKGBUILD @@ -0,0 +1,22 @@ +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" + ./configure --prefix="$pkgdir/usr/local" --CC=gcc + make -j4 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install +} diff --git a/package_creators/arch.sh b/package_creators/arch.sh new file mode 100755 index 00000000..3db15a25 --- /dev/null +++ b/package_creators/arch.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +./tarball.sh +makepkg -g >> PKGBUILD +makepkg -sic +rm ./*.tar.gz +rm ./*.pkg.tar.xz +sed -i '$ d' PKGBUILD