updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / alevt-dvb / PKGBUILD
blobd70afa3b46aeb8350d357e350e8824a3717a8443
1 # Maintainer: Heiko Baums <heiko@baums-on-web.de>
2 # Contributor: Nagy Gabor <ngaba@@bibl..u-szeged..hu>
3 # Contributor: Víctor Martínez Romanos <vmromanos@gmail.com>
5 pkgname=alevt-dvb
6 _pkgbasename=alevt
7 pkgver=1.6.2
8 pkgrel=5
9 pkgdesc="A teletext/videotext decoder and browser for DVB cards and X11"
10 arch=('i686' 'x86_64')
11 url="http://www.ch4r.de/alevt%20mit%20dvb-t%20unter%20linux.html"
12 license=('GPL')
13 depends=('libpng' 'libx11')
14 optdepends=('zenity: for starting alevt-dvb from the menu (alevt.desktop)')
15 install=alevt.install
16 source=(http://www.goron.de/~froese/alevt/$_pkgbasename-$pkgver.tar.gz
17         http://dl.blackbone-ev.de/pluto/alevt-dvb-demux.patch.tar.bz2
18         alevt.desktop
19         alevt-cap.desktop
20         TeletextDVB.sh
21         TeletextDVB-capture.sh)
22 md5sums=('e5a32776e7eff48ec48449b3c3c1cc23'
23          'a7f45416afa1ac649d629f856c511396'
24          '66ddc95409e5fd660682bc8b90c877da'
25          '1d49c7e53fac043b9d414172fd6790f0'
26          '7f6d3e7d62242644919bee6e4c8c1bba'
27          'ff7633a9a5e691e8918c6c0602692028')
29 build() {
30   cd $srcdir/$_pkgbasename-$pkgver
31   patch -Np1 -i $srcdir/alevt-dvb-demux.patch
32   make
35 package() {
36   cd $srcdir/$_pkgbasename-$pkgver
37   install -m755 -d $pkgdir/usr/{bin,share/man/man1,share/pixmaps,share/applications}
38   install -m755 alevt alevt-cap alevt-date $pkgdir/usr/bin
39   install -m644 alevt.1x alevt-date.1 alevt-cap.1 $pkgdir/usr/share/man/man1
40   install -m644 contrib/mini-alevt.xpm $pkgdir/usr/share/pixmaps
41   install -m644 $srcdir/alevt.desktop $pkgdir/usr/share/applications/
42   install -m644 $srcdir/alevt-cap.desktop $pkgdir/usr/share/applications/
43   install -m755 $srcdir/TeletextDVB.sh $pkgdir/usr/bin
44   install -m755 $srcdir/TeletextDVB-capture.sh $pkgdir/usr/bin