summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f3e71a1ffe3..f768b3ca48f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
-# Maintainer: Daniel Bermond < yahoo-com: danielbermond >
+# Maintainer: Daniel Bermond < gmail-com: danielbermond >
pkgname=intel-media-driver-git
-pkgver=2018.3.pre3.r106.g9a64b5e4
+_srcname=media-driver
+pkgver=2018.3.pre3.r308.g862e9600
pkgrel=1
pkgdesc='Intel Media Driver for VAAPI — Broadwell+ iGPUs (git version)'
arch=('x86_64')
@@ -16,11 +17,11 @@ depends=(
makedepends=('git' 'cmake')
provides=('intel-media-driver')
conflicts=('intel-media-driver')
-source=("$pkgname"::'git+https://github.com/intel/media-driver.git')
+source=('git+https://github.com/intel/media-driver.git')
sha256sums=('SKIP')
pkgver() {
- cd "$pkgname"
+ cd "$_srcname"
# git, tags available
git describe --long --tags | sed 's/^intel-media-//;s/^[0-9]\{2\}/20&/;s/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
@@ -35,7 +36,7 @@ build() {
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-DINSTALL_DRIVER_SYSCONF:BOOL='OFF' \
-Wno-dev \
- ../"$pkgname"
+ ../"$_srcname"
make
}
@@ -46,6 +47,6 @@ package() {
make DESTDIR="$pkgdir" install
# license
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/${_srcname}"
install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}