blob: 0a05629c84941e16d40596f6b207d742b8ac0c6a (
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
|
# Maintainer : Daniel Bermond < gmail-com: danielbermond >
pkgname=libklvanc-git
pkgver=r434.d474cfc
pkgrel=1
pkgdesc='Library which can be used for parsing/generation of Vertical Ancillary Data (VANC) (git version)'
arch=('x86_64')
url='https://github.com/stoth68000/libklvanc/'
license=('LGPL')
depends=('ncurses')
makedepends=('git' 'zlib')
provides=('libklvanc')
conflicts=('libklvanc')
source=('git+https://github.com/stoth68000/libklvanc.git')
sha256sums=('SKIP')
prepare() {
cd libklvanc
./autogen.sh --build
}
pkgver() {
cd libklvanc
# git, no tags available
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd libklvanc
./configure \
--prefix='/usr' \
--enable-shared='yes' \
--enable-static='no'
make
}
package() {
cd libklvanc
make DESTDIR="$pkgdir" install
}
|