summaryrefslogtreecommitdiffstats
path: root/abs/core/linuxtv-dvb-apps/PKGBUILD
blob: 7dd5b29ae5ed7d95f3a037ae21d5a69fb1cc050d (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$
# 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")

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*
}

md5sums=('6e4bc8e5b22609b212f968c7d88e90ab')