PKGBUILDs/alarm/odroid-libgl/PKGBUILD
2015-08-26 00:40:51 +00:00

24 lines
689 B
Bash

# ODROID-X/X2/U2/U3 Mali GL Driver
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=4
pkgname=odroid-libgl
pkgver=r5p0
pkgrel=1
arch=('armv7h')
pkgdesc="ODROID-X/X2/U2/U3 Mali GL Driver"
url="http://www.hardkernel.com/"
license=('Proprietary')
depends=('mesa-libgl')
source=("http://archlinuxarm.org/builder/src/4412_r5p0_x11.tar.xz"
'mali-odroid.conf')
md5sums=('fd096d1fc0762fe8e799a9c78c259f36'
'40f5104200cfceb12b4623d219646d4e')
package() {
install -d "${pkgdir}"/usr/lib/mali-egl
install -d "${pkgdir}"/etc/ld.so.conf.d
cp -a lib* "${pkgdir}"/usr/lib/mali-egl
install -Dm644 mali-odroid.conf "${pkgdir}"/etc/ld.so.conf.d/mali-odroid.conf
}