diff options
Diffstat (limited to 'community/tvtime')
-rw-r--r-- | community/tvtime/PKGBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/community/tvtime/PKGBUILD b/community/tvtime/PKGBUILD index 00442105e..d5e6eb6d2 100644 --- a/community/tvtime/PKGBUILD +++ b/community/tvtime/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 63761 2012-02-05 12:12:36Z ibiru $ +# $Id: PKGBUILD 80477 2012-11-22 15:02:49Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer:thefatprecious <marty@loomar.com> pkgname=tvtime pkgver=1.0.2 -pkgrel=3 +pkgrel=4 pkgdesc="A high quality television application for use with video capture cards" arch=('i686' 'x86_64') url='http://tvtime.sourceforge.net/' @@ -23,12 +23,19 @@ md5sums=('4b3d03afe61be239b08b5e522cd8afed' build() { cd $srcdir/$pkgname-$pkgver + patch -p1 < ../tvtime-1.0.2+linux-headers-2.6.18.patch patch -p1 < ../tvtime-1.0.2-gcc41.patch patch -p1 < ../tvtime-1.0.2-locale_t.patch sed -i '1,1i#include <zlib.h>' src/pngoutput.c + echo "StartupWMClass=tvtime" >>docs/net-tvtime.desktop + [ -f Makefile ] || ./configure --prefix=/usr --mandir=/usr/share/man --localstatedir=/var --sysconfdir=/etc make +} + +package() { + cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install install -D -m644 docs/html/default.tvtime.xml $pkgdir/usr/share/tvtime/default.tvtime.xml } |