summaryrefslogtreecommitdiff
path: root/community/linuxtv-dvb-apps/PKGBUILD
blob: 3efdf75d6d49fbd4b1fb7303c3fa60b4cb35b691 (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
# $Id: PKGBUILD 62806 2012-01-27 05:32:06Z jconder $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Camille Moncelier <pix@devlife.org>

pkgname=linuxtv-dvb-apps
pkgver=1465
pkgrel=1
_hgrev=69fc03702a64
pkgdesc='Viewer programs for DVB cards'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.linuxtv.org/'
license=('GPL')
source=("http://linuxtv.org/hg/dvb-apps/archive/$_hgrev.tar.bz2")
sha256sums=('4c32fd895d826254779f1020f69a1978ea3c0130440f82f7b18e2d8e5378804a')

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