1 # Maintainer: Milos Pejovic (pejovic@gmail.com)
6 pkgdesc="tvtime with ALSA patches from Fedora 11"
7 depends=('libpng' 'libxml2' 'freetype2' 'libxss' 'libxinerama' 'libxv' 'libsm' 'libxxf86vm')
8 source=(http://downloads.sourceforge.net/tvtime/tvtime-$pkgver.tar.gz
9 tvtime-1.0.1-fsbadval.patch
10 tvtime-1.0.1-gcc4.1.patch
11 tvtime-1.0.1-header.patch
12 tvtime-1.0.2-alsamixer2.patch
13 tvtime-1.0.2-alsamixer.patch
14 tvtime-1.0.2-localedef.patch)
15 url='http://tvtime.sourceforge.net/'
18 arch=('i686' 'x86_64')
21 cd $startdir/src/tvtime-$pkgver
23 patch -Np1 -i ${startdir}/tvtime-1.0.1-gcc4.1.patch
24 patch -Np1 -i ${startdir}/tvtime-1.0.1-header.patch
25 patch -Np1 -i ${startdir}/tvtime-1.0.1-fsbadval.patch
26 patch -Np1 -i ${startdir}/tvtime-1.0.2-alsamixer.patch
27 patch -Np1 -i ${startdir}/tvtime-1.0.2-localedef.patch
28 patch -Np1 -i ${startdir}/tvtime-1.0.2-alsamixer2.patch
30 sed -i -e "s/tvtime.png/tvtime/" docs/net-tvtime.desktop
32 ./configure --prefix=/usr --mandir=/usr/share/man --localstatedir=/var --sysconfdir=/etc || return 1
34 make DESTDIR=$startdir/pkg install
35 install -D -m644 docs/html/default.tvtime.xml $pkgdir/usr/share/tvtime/default.tvtime.xml || return 1
37 md5sums=('4b3d03afe61be239b08b5e522cd8afed'
38 '788ef21672417c2e4226299c0c9e0ced'
39 'd23c366d0047bbac305e1376aa2ee8d3'
40 '4373c01c146ff3ef62e9d5e7e30325f3'
41 'd20144be365598abce0c873d10aff4a2'
42 '7b734a5b1b8b847953eb8357e895ed54'
43 '3f761e8332df387334092be5f3befd86')