updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / vdr-osdteletext / PKGBUILD
blobdf699677458bbcc4b1917b66d0f9992bd0a2c495
1 # Contributor: dejavu <pauli8585@hotmail.com>
2 pkgname=vdr-osdteletext
3 pkgver=0.5.1
4 pkgrel=3
5 pkgdesc="Displays teletext directly on the OSD in VDR"
6 arch=('i686' 'x86_64')
7 url="http://www.wiesweg-online.de/linux/linux.html"
8 license=('GPLv2')
9 depends=('vdr>=1.5.0')
10 makedepends=('gcc')
11 source=(http://www.wiesweg-online.de/linux/vdr/$pkgname-$pkgver.tgz
12         http://www.vdr-portal.de/board/attachment.php?attachmentid=13339)
13 md5sums=('52c219e38a089504071237209ad114cd'
14         '99599c0ee67525196a286b6ad47effec')
16 build() {
18     cd $startdir/src/osdteletext-$pkgver
20     patch -p1 -i ../attachment.php?attachmentid=13339
22     mkdir -p $startdir/pkg/usr/lib/vdr
23     mkdir -p $startdir/pkg/usr/src/VDR/locale
25     make VDRDIR=/usr/src/VDR \
26          LIBDIR=$startdir/pkg/usr/lib/vdr \
27          LOCALEDIR=$startdir/pkg/usr/src/VDR/locale \
28          PLUGINLIBDIR=$startdir/pkg/usr/lib/vdr clean
29     make VDRDIR=/usr/src/VDR \
30          LIBDIR=$startdir/pkg/usr/lib/vdr \
31          LOCALEDIR=$startdir/pkg/usr/src/VDR/locale \
32          PLUGINLIBDIR=$startdir/pkg/usr/lib/vdr all || return 1