summaryrefslogtreecommitdiffstats
path: root/abs/extra/libva-utils/PKGBUILD
blob: 61b65dcbe38da9feb32facfe1501b60126eda37b (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
# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange@archlinux.org>
# Contributor: Sean V Kelley <seanvk@posteo.de>

pkgname=libva-utils
pkgver=2.4.0
pkgrel=1
pkgdesc="Intel VA-API Media Applications and Scripts for libva"
arch=('x86_64')
url="https://github.com/intel/libva-utils"
license=('custom')
depends=('libva')
makedepends=('mesa')
source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz")
sha256sums=('13d15bf464e5a452f5243a6ca5988d3841c8bbbb017b75d73254acc0e4d6740c')

build() {
    cd ${pkgname}-${pkgver}
    ./autogen.sh \
        --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var
    make
}

package() {
    cd ${pkgname}-${pkgver}
    make DESTDIR="$pkgdir" install
    install -Dm644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING
}