blob: 8aa2e76f6f06a00f1c6dc16eaa8c0a2059400c1d (
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
31
32
33
34
35
36
37
38
|
# Maintainer:
# Contributor: DetMittens
_pkgname="libcmrt"
pkgname="$_pkgname"
pkgver=1.0.6
pkgrel=3
pkgdesc="Intel C for Media RunTime GPU kernel manager"
url="https://github.com/01org/cmrt"
license=('MIT')
arch=('i686' 'x86_64')
depends=('libva>=2.0.0')
_pkgsrc="cmrt-$pkgver"
_pkgext="tar.gz"
source=("$_pkgsrc.$_pkgext"::"https://github.com/01org/cmrt/archive/$pkgver.$_pkgext")
sha256sums=("ca22e905a2717fc740e703e65a0061a0e11f4ea513ba970bbc10b3bd6d28e6e0")
prepare() {
cd "$_pkgsrc"
autoreconf -v --install
}
build() {
cd "$_pkgsrc"
./configure --prefix=/usr
make
}
package() {
cd "$_pkgsrc"
DESTDIR="$pkgdir" make install
mv "$pkgdir/usr/etc" "$pkgdir"
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
chmod -R u+rwX,go+rX,go-w "$pkgdir/"
}
|