updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / gnome-dvb-daemon / PKGBUILD
blob05c46e4aab5a0df0f09760d222ecbc797dae5b4a
1 # Contributor: David Spicer <azleifel at googlemail dot com>
3 pkgname=gnome-dvb-daemon
4 pkgver=0.2.7
5 pkgrel=1
6 pkgdesc="A daemon to setup DVB devices, record and watch TV shows and browse EPG"
7 arch=('i686' 'x86_64')
8 url="http://live.gnome.org/DVBDaemon"
9 license=('GPL3')
10 depends=('gstreamer0.10-bad-plugins' 'gstreamer0.10-good-plugins'
11          'gstreamer0.10-rtsp>=0.10.7' 'hicolor-icon-theme' 'libgee'
12          'python2-gobject' 'vala')
13 makedepends=('pkg-config' 'intltool' 'totem')
14 optdepends=('linuxtv-dvb-apps: For initial tuning data'
15             'totem: To watch live TV streamed by gnome-dvb-daemon')
16 options=(!libtool)
17 install=${pkgname}.install
18 source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-dvb-daemon/0.2/${pkgname}-${pkgver}.tar.xz)
19 md5sums=('c7c3489b5437073ff90d806ee4db6caf')
21 build() {
22   cd "${srcdir}/${pkgname}-${pkgver}"
24   #
25   # BUILD
26   #
27   install -d -m755 "${pkgdir}/usr/share/doc/${pkgname}"
29   for _file in client/gnome-dvb-control client/gnome-dvb-setup; do
30      sed -i -e '1c#!/usr/bin/env python2' "${_file}"
31   done
33   PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc --enable-totem-plugin
34   make
35   make DESTDIR="${pkgdir}" install
37   # Install documents
38   install -m644 -t "${pkgdir}/usr/share/doc/${pkgname}" AUTHORS ChangeLog NEWS README