updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / tv-viewer / PKGBUILD
blob92eb4f0e4edbd8797525dfcafd9863fcbb9893e3
1 # Contributor: Christian Rapp <saedelaere@arcor.de>
2 pkgname=tv-viewer       
3 pkgver=0.8.1.1
4 pkgrel=1
5 pkgdesc="TV-Viewer is a frontend to watch and record tv. It supports analog tv and devices with a build-in hardware MPEG-2 encoder."
6 arch=('i686' 'x86_64')
7 url="http://tv-viewer.sourceforge.net/"
8 license=('GPL')
9 depends=('tcl>=8.5' 'tk>=8.5' 'ivtv-utils' 'mplayer' 'xdg-utils' 'glibc' 'libxdmcp' 'libxau' 'libxcb' 'libx11')
10 makedepends=('wget')
11 optdepends=('tkimg: If using tk < 8.6 this provides png support')
12 provides=(tv-viewer)
13 conflicts=(tv-viewer)
14 source=(http://downloads.sourceforge.net/project/tv-viewer/tv-viewer_stable_0.8.x/$pkgver/$pkgname-$pkgver.tar.gz)
15 #source=(http://downloads.sourceforge.net/project/tv-viewer/tv-viewer_stable_0.8.x/$pkgver/$pkgname-$pkgver.tar.gz)
16 md5sums=('f7c39d44ba8f2fa7c58af711441fc6b4') #generate with 'makepkg -g'
18 build() {
19         cd "$srcdir/$pkgname-$pkgver"
20         msg "Starting make..."
21         chmod a+x ./configure.tcl
22         ./configure.tcl --prefix="$pkgdir/usr" --bintarget="/usr/share/tv-viewer" --nodepcheck --quiet
23         chmod a+x ./install.tcl
24         ./install.tcl --quiet