mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
1.1 KiB
Bash
26 lines
1.1 KiB
Bash
# $Id: PKGBUILD 27648 2009-02-24 06:34:59Z eric $
|
|
# Maintainer: Jason Chu <jason@archlinux.org>
|
|
|
|
pkgname=tvtime
|
|
pkgver=1.0.2
|
|
pkgrel=1
|
|
pkgdesc="A high quality television application for use with video capture cards"
|
|
arch=('i686' 'x86_64')
|
|
url='http://tvtime.sourceforge.net/'
|
|
license=('GPL' 'LGPL')
|
|
depends=('gcc-libs' 'libpng' 'libxml2' 'freetype2' 'libxtst' 'libxinerama' 'libxv' 'libsm' 'libxxf86vm')
|
|
makedepends=('libxt')
|
|
source=(http://downloads.sourceforge.net/sourceforge/tvtime/$pkgname-$pkgver.tar.gz \
|
|
tvtime-1.0.2+linux-headers-2.6.18.patch tvtime-1.0.2-gcc41.patch)
|
|
md5sums=('4b3d03afe61be239b08b5e522cd8afed' '29b0aefd80fddae68613854b627e044a'\
|
|
'c782789825dfa664e1f6fcc96ac7246c')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
patch -p1 < ../tvtime-1.0.2+linux-headers-2.6.18.patch || return 1
|
|
patch -p1 < ../tvtime-1.0.2-gcc41.patch || return 1
|
|
./configure --prefix=/usr --mandir=/usr/share/man --localstatedir=/var --sysconfdir=/etc || return 1
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
install -D -m644 docs/html/default.tvtime.xml $pkgdir/usr/share/tvtime/default.tvtime.xml || return 1
|
|
}
|