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

pkgname=mythexport
pkgver=2.2.3
pkgrel=3
pkgdesc="Export MythTV recording to portable media players"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('atomicparsley' 'perl-config-simple' 'perl-net-upnp'
         'perl-proc-daemon' 'perl-proc-pid-file' 'perl-html-template' 'handbrake-cli')
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)
install=mythexport.install

build() {

  /bin/true

}

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