diff options
author | Daniel Bermond | 2017-12-26 13:06:14 -0200 |
---|---|---|
committer | Daniel Bermond | 2017-12-26 13:06:14 -0200 |
commit | 3b875a62f2e68b00ab37a86ad19f90c6739ad370 (patch) | |
tree | 8043d7b081f0658e05b7c458993898c330b7d4ed | |
download | aur-3b875a62f2e68b00ab37a86ad19f90c6739ad370.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..94189747b70f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by mksrcinfo v8 +# Tue Dec 26 15:06:10 UTC 2017 +pkgbase = libva-utils-git + pkgdesc = Intel VA-API Media Applications and Scripts for libva (git version) + pkgver = 2.0.0.r22.g7b4827e + pkgrel = 1 + url = https://github.com/01org/libva-utils/ + arch = i686 + arch = x86_64 + license = custom + makedepends = git + makedepends = mesa + depends = libva + provides = libva-utils + conflicts = libva-utils + source = libva-utils-git::git+https://github.com/01org/libva-utils.git + sha256sums = SKIP + +pkgname = libva-utils-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..48c66c6d586d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=libva-utils-git +pkgver=2.0.0.r22.g7b4827e +pkgrel=1 +pkgdesc='Intel VA-API Media Applications and Scripts for libva (git version)' +arch=('i686' 'x86_64') +url='https://github.com/01org/libva-utils/' +license=('custom') +depends=('libva') +makedepends=('git' 'mesa') +provides=('libva-utils') +conflicts=('libva-utils') +source=("$pkgname"::'git+https://github.com/01org/libva-utils.git') +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + + # git, tags available + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' +} + +build() { + cd "$pkgname" + + ./autogen.sh \ + --prefix='/usr' \ + --sysconfdir='/etc' \ + --localstatedir='/var' + + make +} + +package() { + cd "$pkgname" + + make DESTDIR="$pkgdir" install + + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |