blob: 8b83732c6a95d5b2ff3e9c0be555fce2002f8bd2 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
# Contributor: orumin <dev at orum.in>
pkgname=lib32-zvbi
_basename=zvbi
pkgver=0.2.44
pkgrel=1
pkgdesc='VBI capture and decoding library (32-bit)'
url=http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome
arch=(x86_64)
depends=(
lib32-libpng
zvbi
)
makedepends=(
git
lib32-libx11)
license=(
BSD
GPL2
LGPL2.1
MIT)
_tag=5169a428d51c3ae8ff7b0897e8a687d8e05e37b5
source=(git+https://github.com/zapping-vbi/zvbi.git#tag=${_tag})
b2sums=('518476fa9dd0e924d1b560bd28b558d01692f55e09065b746fca208734c9bfd8a9a33e86810a1bb244c2297695c8ff3d1e587a0e6fe53afe110354cdae6e9fc4')
prepare() {
cd zvbi
NOCONFIGURE=1 ./autogen.sh
}
pkgver() {
cd zvbi
git describe --tags | sed 's/^v//'
}
build() {
cd zvbi
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--libdir=/usr/lib32 \
--build=i686-pc-linux-gnu
make
}
package() {
cd zvbi
make DESTDIR="${pkgdir}" install
rm -r "${pkgdir}/usr/bin"
rm -r "${pkgdir}/usr/include"
rm -r "${pkgdir}/usr/share"
install -Dm 644 COPYING.md -t "${pkgdir}"/usr/share/licenses/lib32-zvbi
}
|