blob: 7c87dc2b92a58f3787c3fb77f8684fc452ebc41c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $Id: PKGBUILD 187081 2013-06-03 11:17:17Z allan $
# Maintainer:
# Contributor: Alexander Baldeck <alexander@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=zvbi
pkgver=0.2.33
pkgrel=6
pkgdesc="VBI capture and decoding library"
url="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome"
arch=('i686' 'x86_64' 'mips64el')
depends=('libpng' 'libx11')
license=('GPL')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/zapping/${pkgname}-${pkgver}.tar.bz2"
'fix-includes.patch'
'zvbi-0.2.33-libpng15.patch')
md5sums=('1741a6045c3eedfb611d645f2da69ac8'
'38766bc59e1571133d0399f0102da653'
'4434de7addc438be8c5a33274146bd11')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/fix-includes.patch"
patch -Np0 -i "${srcdir}/zvbi-0.2.33-libpng15.patch"
./configure --prefix=/usr \
--disable-static \
--mandir=/usr/share/man
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# usrmove
cd "$pkgdir"
mv usr/sbin/* usr/bin/
rmdir usr/sbin
}
|