# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
# Maintainer: Cecil Watson<knoppmyth@gmail.com>

pkgname=tablet-encode
pkgver=2.30
pkgrel=4
pkgdesc="Transcodes videos for playback on a Nokia Internet Tablet"
arch=('i686' 'x86_64')
license=('ARTISTIC')
depends=(mencoder)
url="http://mediautils.garage.maemo.org/tablet-encode.html"
source=(https://garage.maemo.org/frs/download.php/6892/tablet-encode-2.30.tar.gz linhes.diff)

build() {
  cd ${srcdir}/$pkgname-$pkgver
  patch -p1 < ../linhes.diff || return 1
  mkdir -p $startdir/pkg/usr/bin
  mkdir -p $startdir/pkg/usr/share/doc/tablet-encode
  install -D -m755 tablet-encode $startdir/pkg/usr/bin
  cp README.txt $startdir/pkg/usr/share/doc/tablet-encode
}
md5sums=('cc81a2a375724543cf40ea2ed97d3e6a'
         'ce525cbdcc1a6e2cf82f51b56c874630')