mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
99568e5494
Add support for Linux < 4.15
29 lines
820 B
Bash
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"
|
|
}
|