summaryrefslogtreecommitdiffstats
path: root/abs/extra/mythappletrailers/PKGBUILD
blob: 57b6b729e5a0aebf1564043a8a87b55d793bba82 (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
36
37
38
39
40
41
42
43
44
45
# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
# Maintainer: Cecil Watson<knoppmyth@gmail.com>

pkgname=mythappletrailers
pkgver=0.04.3
pkgrel=45
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' 'mythtv' 'mplayer-wrapper')
install=mythappletrailers.install
source=('myth_trailers_grabber' 'appletrailer.xml'
'trailers' 'loading.sh' 'fix_aple_url.sh'
'play_trailer.sh' 'gen_trailer_menu.sh' 'all_trailers' 'shuffle_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/
  cp appletrailer.xml  $startdir/pkg/home/mythtv/appletrailer.xml
  chown 1000:1000 $startdir/pkg/home/mythtv/appletrailer.xml
  chmod 755 trailers
  chmod 755 myth_trailers_grabber
  chmod 755 loading.sh 
  cp myth_trailers_grabber $startdir/pkg/usr/bin/
  cp loading.sh $startdir/pkg/usr/bin/
  cp trailers $startdir/pkg/etc/cron.daily/
  install -m755 $srcdir/fix_aple_url.sh $pkgdir/usr/bin
  install -m755 $srcdir/play_trailer.sh $pkgdir/usr/bin
  install -m755 $srcdir/gen_trailer_menu.sh $pkgdir/usr/bin
  install -m644 $srcdir/all_trailers $pkgdir/home/mythtv
  install -m644 $srcdir/shuffle_trailers $pkgdir/home/mythtv
  chown 1000:1000 $startdir/pkg/home/mythtv/*_trailers
}
md5sums=('336e68953d0e1e8a0c7a4990f8d43a2b'
         'be0d071981e5536f24aaf67545a96cc5'
         'a508f2de763f5bec5b4549885c062c8a'
         'ece3c5f8a605b6e2270c6f7671705631'
         'a2349f844e47fd95a672739177ca44ff'
         '14f153c1efa7ae4e192d87010cbf9f7c'
         '3e9d8014a0e76e2cf8057291d20c9291'
         '7af1e58dfab2772dbb6f339481ae8d5d'
         'd26681921482cbf334b43f700adf0d29')