summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cba77fff0193238de6cabb29a9afb7a8e7326b45 (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: DetMittens
pkgname=libcmrt
pkgver=1.0.6
pkgrel=1
pkgdesc="Intel C for Media RunTime GPU kernel manager"
arch=('i686' 'x86_64')
depends=('libva')
url='https://01.org/linuxmedia/vaapi'
license=('MIT')
source=("cmrt-${pkgver}.tar.gz::https://github.com/01org/cmrt/archive/${pkgver}.tar.gz")
sha256sums=("ca22e905a2717fc740e703e65a0061a0e11f4ea513ba970bbc10b3bd6d28e6e0")

prepare() {
  cd ${srcdir}/cmrt-${pkgver}
  autoreconf -v --install
}

build() {
  cd ${srcdir}/cmrt-${pkgver}

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/cmrt-${pkgver}
  make install DESTDIR=${pkgdir}
  mv ${pkgdir}/usr/etc ${pkgdir}
}