PKGBUILDs/community/linuxtv-dvb-apps/PKGBUILD

29 lines
844 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $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*
}