updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dvbstream / PKGBUILD
blob134e225cde7eddf0560055980e75cc217aae40b1
1 # Contributor: Gergely Tamas <dice@mfa.kfki.hu>
2 pkgname=dvbstream
3 pkgver=0.5
4 pkgrel=3
5 pkgdesc="RTP-ize a DVB transport stream."
6 url="http://sourceforge.net/projects/dvbtools/"
7 license="GPL"
8 depends=('glibc')
9 source=(http://dl.sourceforge.net/sourceforge/dvbtools/$pkgname-$pkgver.tar.gz dumprtp.1 dvbstream.1 rtpfeed.1 ts_filter.1)
10 md5sums=('34eb1053beb918843bedd903647f93da' '89904079c0893ed2755582ac15135f3e'\
11          '39db6f4875fca38676497f7a95f74c97' '93f231c87856e29308adb40ba7936a8e'\
12          '797f52c6db4d0ded079cb2bc5f6cfee9')
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
16   make || return 1
17   mkdir -p $startdir/pkg/usr/{bin,man/man1}
18   for i in dumprtp dvbstream rtpfeed ts_filter; do
19     install -m 755 $i $startdir/pkg/usr/bin
20     install -m 644 $startdir/src/${i}.1 $startdir/pkg/usr/man/man1
21   done