PKGBUILDs/community/linuxtv-dvb-apps/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
844 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Camille Moncelier <pix@devlife.org>
pkgname=linuxtv-dvb-apps
pkgver=1.1.1
pkgrel=3
_hgrev=68d20621d93a
pkgdesc="Viewer programs for DVB cards"
arch=('i686' 'x86_64')
url="http://www.linuxtv.org/"
license=('GPL')
depends=(glibc)
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 $startdir/src/dvb-apps-$_hgrev
rm -rf include
make -C lib || return 1
make -C util || return 1
make -C lib DESTDIR=$startdir/pkg install || return 1
make -C util DESTDIR=$startdir/pkg install || return 1
chmod 755 $startdir/pkg/usr/lib/*.so*
}