summaryrefslogtreecommitdiff
path: root/community/linuxtv-dvb-apps/PKGBUILD
blob: 66192edc63f43968deafd36e9c93fbbe55508dac (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
# $Id: PKGBUILD 21619 2010-07-16 20:05:39Z tdziedzic $
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Camille Moncelier <pix@devlife.org>

pkgname=linuxtv-dvb-apps
pkgver=1.1.1
pkgrel=4
_hgrev=68d20621d93a
pkgdesc='Viewer programs for DVB cards'
arch=('i686' 'x86_64')
url='http://www.linuxtv.org/'
license=('GPL')
install=linuxtv-dvb-apps.install
#source=(http://www.linuxtv.org/download/dvb/$pkgname-$pkgver.tar.bz2)
source=("http://linuxtv.org/hg/dvb-apps/archive/${_hgrev}.tar.bz2")
md5sums=('5b43136359d9555a567a76ba28433afc')

build() {
  cd dvb-apps-${_hgrev}

  rm -rf include

  make -C lib

  make -C util
}

package() {
  cd dvb-apps-${_hgrev}

  make -C lib DESTDIR=${pkgdir} install

  make -C util DESTDIR=${pkgdir} install

  chmod 755 ${pkgdir}/usr/lib/*.so*
}