mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 18:12:15 +08:00
25 lines
813 B
Bash
25 lines
813 B
Bash
# Maintainer: Ionut Biru <ibiru@archlinux.org>
|
|
# Contributor: Mikko Seppälä <t-ra-y-@mbnet.fi>
|
|
_pkgsourcename=libgl
|
|
pkgname=lib32-$_pkgsourcename
|
|
pkgver=7.9
|
|
pkgrel=1
|
|
pkgdesc="Mesa DRI OpenGL library and drivers"
|
|
arch=('x86_64')
|
|
url="http://mesa3d.sourceforge.net"
|
|
license=('LGPL')
|
|
groups=('lib32')
|
|
depends=('lib32-libxxf86vm' 'lib32-libdrm>=2.0' 'lib32-libxext')
|
|
replaces=('lib32-libgl-dri')
|
|
provides=('lib32-libgl-dri')
|
|
source=(http://chakra-project.org/repo/platform-testing/i686/$_pkgsourcename-$pkgver-$pkgrel-i686.pkg.tar.xz)
|
|
|
|
build() {
|
|
cd "$srcdir"
|
|
mkdir -p "$pkgdir/opt/lib32/usr/lib"
|
|
cp -dp usr/lib/*.so* "$pkgdir/opt/lib32/usr/lib"
|
|
# Fix for intel-dri
|
|
install -Dm755 "$srcdir/usr/lib/xorg/modules/dri/swrast_dri.so" "$pkgdir/opt/lib32/usr/lib/"
|
|
}
|
|
md5sums=('d480b2db5aa28ae52b46ddc4f31fbad3')
|