PKGBUILDs/alarm/odroid-libgl/PKGBUILD
2014-05-24 03:25:21 +00:00

28 lines
803 B
Bash

# ODROID Mali GL Driver
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=4
pkgname=odroid-libgl
pkgver=r4p0
pkgrel=1
arch=('armv7h')
pkgdesc="ODROID Mali GL Driver"
url="http://www.hardkernel.com/"
license=('Proprietary')
provides=('libegl' 'libgles' 'mesa-libgl')
conflicts=('mesa-libgl')
source=("http://builder.mdrjr.net/tools/mali-${pkgver}.txz"
'egl.pc' 'glesv1_cm.pc' 'glesv2.pc')
md5sums=('f88d6db219d2edfbbf7b2e4e816e4d57'
'e67630aef4ac75603eabaa25f12eeeaa'
'58e5a5e4961fd40ca417238665e3c5d5'
'd4757408470433450ec424b468c8f35f')
package() {
install -dm644 "${pkgdir}"/usr/lib
cp -a mali/lib* "${pkgdir}"/usr/lib
install -dm644 "${pkgdir}"/usr/lib/pkgconfig
install -m644 egl.pc glesv1_cm.pc glesv2.pc "${pkgdir}"/usr/lib/pkgconfig
}