summaryrefslogtreecommitdiff
path: root/community/linuxtv-dvb-apps/PKGBUILD
blob: 268ac07de776e866e3ea0f882a0889c3730c34b2 (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 80369 2012-11-21 04:04:30Z 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=1486
pkgrel=1
_hgrev=3fc7dfa68484
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=('60cfd45fe7417a4445a7814ce6e645ddaad0f8e934015c09d53eb93c8739b35a')

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