blob: 5a259948863c68172a02545cc6de62dd7b055fee (
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
|
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=libklvanc-git
pkgver=1.6.0.r8.g3365db3
pkgrel=1
pkgdesc='Library for parsing/generation of Vertical Ancillary Data (VANC) (git version)'
arch=('x86_64')
url='https://github.com/stoth68000/libklvanc/'
license=('LGPL')
depends=('glibc')
makedepends=('git')
provides=('libklvanc')
conflicts=('libklvanc')
source=('git+https://github.com/stoth68000/libklvanc.git')
sha256sums=('SKIP')
prepare() {
cd libklvanc
./autogen.sh --build
}
pkgver() {
git -C libklvanc describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^vid\.obe\.//;s/^v//'
}
build() {
cd libklvanc
./configure --prefix='/usr'
make
}
package() {
make -C libklvanc DESTDIR="$pkgdir" install
# the -debug package is preventing binary executables from being stripped
strip "$STRIP_BINARIES" "${pkgdir}/usr/bin"/*
}
|