summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mythappletrailers/PKGBUILD
blob: e1d8f4056694e0e2da3bb45404b0e8d11f39b012 (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
# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
# Maintainer: Cecil Watson<knoppmyth@gmail.com>

pkgname=mythappletrailers
pkgver=0.04.3
pkgrel=7
pkgdesc="Unofficial Add-on for MythTV to get Apple.com Movie Trailers."
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.mythtv.org/wiki/index.php/Myth_Apple_Trailers"
depends=('php')
install=mythappletrailers.install
source=('http://colt45.chemlab.org/misc_scripts/mythtrailer/0.4/mythappletrailer-0.04.3.tar'
	'trailers')

build() {
  mkdir -p $startdir/pkg/usr/bin
  mkdir -p $startdir/pkg/etc/cron.daily
  mkdir -p $startdir/pkg/home/mythtv/
  mkdir -p $startdir/pkg/usr/share/mythtv/
  touch $startdir/pkg/home/mythtv/appletrailer.xml
  chown 1000:1000 $startdir/pkg/home/mythtv/appletrailer.xml
  chmod 755 trailers
  chmod 755 mythtraler/myth*
  cp mythtraler/myth_trailers_grabber $startdir/pkg/usr/bin/
  cp trailers $startdir/pkg/etc/cron.daily/
}