summaryrefslogtreecommitdiff
path: root/pcr/h264enc/PKGBUILD
blob: 151d05be094f93cf31c5982651e163307724698c (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
34
35
# Contributor (Arch): AlexanderR <rvacheva at nxt dot ru>
# Contributor (Arch): Markus Heuser <markus.heuser@web.de>
# Contributor (Arch): Stefan Clarke <fm0nk3y@yahoo.co.uk>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=h264enc
pkgver=9.4.8
pkgrel=1
pkgdesc="Advanced shell script for encoding DVDs or video files to the H.264 format using the encoding utility MEncoder from MPlayer."
arch=('any')
url='http://h264enc.sourceforge.net/'
license=('GPL')
depends=('x264' 'lsdvd' 'lame' 'bc' 'mencoder')
optdepends=('mkvtoolnix' 'gpac' 'ogmtools' 'mplayer' 'pv' 'neroaacenc' 'aacplusenc' 'tsmuxer' 'vorbis-tools' 'dcaenc')
options=(!strip)
install="${pkgname}.install"
source=("http://sf.net/projects/h264enc/files/$pkgname/$pkgname-$pkgver.tar.gz")

build() {
  cd "$srcdir/$pkgname-$pkgver"

  sed -i -e "s|/usr/local|$pkgdir/usr|g" \
        -e 's|usr/local/|usr/|g' \
	-e 's|/man/man1|/share/man/man1|g' install
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  ./install
  rm ${pkgdir}/usr/share/doc/h264enc/{uninstall,LICENSE}
}

sha1sums=('3d8b713c831a152994ce124a3fd4aebafcd4fd6d')
sha1sums=('3d8b713c831a152994ce124a3fd4aebafcd4fd6d')