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

pkgname=mythexport
pkgver=2.2.3
pkgrel=9
pkgdesc="Export MythTV recording to portable media players"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('atomicparsley' 'perl-config-simple' 'perl-net-upnp' 'perl-xml-rss'
         'perl-proc-daemon' 'perl-proc-pid-file' 'perl-html-template' 'handbrake-cli'
	 'tablet-encode' 'mencoder' 'perl-log-dispatch')
optdepends=('lighttpd: For web based interaction')
url="http://www.ubuntuupdates.org/mythexport"
source=(https://launchpad.net/ubuntu/precise/+source/${pkgname}/${pkgver}-0ubuntu2/+files/${pkgname}_${pkgver}.orig.tar.gz
        mythexport.lighttpd.include
	linhes.diff)
install=mythexport.install

build() {

  /bin/true

}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -p1 < ../linhes.diff || return 1
  cp -a ./etc ${pkgdir}/ || return 1
  cp -a ./usr ${pkgdir}/ || return 1

  # Install lighttpd include file
  install -D -m644 ${srcdir}/mythexport.lighttpd.include ${pkgdir}/etc/mythexport/mythexport.lighttpd.include

  # Compress man pages
  gzip -9 *.1
  install -D -m644 mythexport.1.gz ${pkgdir}/usr/share/man/man1/mythexport.1.gz || return 1
  install -D -m644 mythimport.1.gz ${pkgdir}/usr/share/man/man1/mythimport.1.gz || return 1

  # Standard GPL3 license text already in distro
  rm -f ${pkgdir}/COPYING

}
md5sums=('a780c00536a4680ce7d79057658971c8'
         'b08404255abcc99a35e9c1ab8e0dec57'
         'e32369bb2fde6352798e3522d67527b2')