summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 258681667c6ddbbe8307f8f2cdd7edfaaa0cdb74 (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
# Maintainer: Daniel Bermond <dbermond@archlinux.org>

pkgname=libklvanc
pkgver=1.6.0
pkgrel=1
pkgdesc='Library for parsing/generation of Vertical Ancillary Data (VANC)'
arch=('x86_64')
url='https://github.com/stoth68000/libklvanc/'
license=('LGPL')
depends=('glibc')
source=("https://github.com/stoth68000/libklvanc/archive/vid.obe.${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('5076ca48455a4ef4ead2cd880ba189b21937a9ad8fd458adfc133d7bb1c948c3')

prepare() {
    cd "${pkgname}-vid.obe.${pkgver}"
    ./autogen.sh --build
}

build() {
    cd "${pkgname}-vid.obe.${pkgver}"
    ./configure --prefix='/usr'
    make
}

package() {
    make -C "${pkgname}-vid.obe.${pkgver}" DESTDIR="$pkgdir" install
    
    # the -debug package is preventing binary executables from being stripped
    strip "$STRIP_BINARIES" "${pkgdir}/usr/bin"/*
}