PKGBUILDs/alarm/dkms-mali-utgard-meson/PKGBUILD
Joseph Kogut 99568e5494 alarm/dkms-mali-utgard-meson to r6p1-2 (#1515)
Add support for Linux < 4.15
2017-09-20 00:24:31 +00:00

29 lines
820 B
Bash

# Mali driver for mainline linux on Meson platforms
# Maintainer: Joseph Kogut <joseph.kogut@gmail.com>
buildarch=8
_gitname="meson_gx_mali_450"
pkgname=dkms-mali-utgard-meson
pkgver=r6p1
pkgrel=2
pkgdesc="Mali Utgard Kernel Module for meson_drm"
arch=('aarch64')
url="https://github.com/jakogut/$_gitname"
license=('MIT')
install="$pkgname".install
depends=('linux>=4.12' 'linux-headers>=4.12' 'dkms')
makedepends=('git')
provides=('dkms-mali')
conflicts=('dkms-mali')
options=(!strip)
source=("git+${url}.git" "dkms.conf")
md5sums=('SKIP'
'17a564c98a35df0577be76f3f5c8c758')
package() {
cp dkms.conf "$srcdir/$_gitname/driver/src/devicedrv/mali"
cd "$srcdir/$_gitname/driver/src/devicedrv/mali"
mkdir -p "$pkgdir/usr/src/mali-utgard-meson-$pkgver"
cp -r . "$pkgdir/usr/src/mali-utgard-meson-$pkgver"
}