PKGBUILDs/alarm/odroid-libgl/PKGBUILD

25 lines
692 B
Bash
Raw Normal View History

# ODROID-X/X2/U2/U3 Mali GL Driver
2014-05-24 02:28:32 +00:00
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=4
pkgname=odroid-libgl
pkgver=r4p0
pkgrel=2
2014-05-24 02:28:32 +00:00
arch=('armv7h')
pkgdesc="ODROID-X/X2/U2/U3 Mali GL Driver"
2014-05-24 02:28:32 +00:00
url="http://www.hardkernel.com/"
license=('Proprietary')
depends=('mesa-libgl')
source=("http://archlinuxarm.org/builder/src/mali-${pkgver}.txz"
'mali-odroid.conf')
2014-05-24 02:28:32 +00:00
md5sums=('f88d6db219d2edfbbf7b2e4e816e4d57'
'40f5104200cfceb12b4623d219646d4e')
2014-05-24 02:28:32 +00:00
package() {
install -d "${pkgdir}"/usr/lib/mali-egl
install -d "${pkgdir}"/etc/ld.so.conf.d
cp -a mali/lib* "${pkgdir}"/usr/lib/mali-egl
install -Dm644 mali-odroid.conf "${pkgdir}"/etc/ld.so.conf.d/mali-odroid.conf
2014-05-24 02:28:32 +00:00
}