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

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

build() {
  cd ${srcdir}/$pkgname-$pkgver
  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
}