mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 13:57:17 +08:00
36 lines
771 B
Bash
36 lines
771 B
Bash
# Maintainer: AlmAck
|
|
|
|
pkgname=libepoxy
|
|
pkgver=1.3.1
|
|
pkgrel=1
|
|
pkgdesc="A library for handling OpenGL function pointer management for you"
|
|
url="https://github.com/anholt/libepoxy"
|
|
arch=('x86_64')
|
|
license=(MIT)
|
|
depends=('glibc')
|
|
makedepends=('xorg-util-macros' 'python' 'mesa-libgl')
|
|
source=("https://github.com/anholt/${pkgname}/archive/v${pkgver}.tar.gz")
|
|
md5sums=('981396e099bc91c29e6769e49a0cb8d6')
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
./autogen.sh --prefix=/usr
|
|
}
|
|
|
|
check() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
# disabled for now (X11 running required)
|
|
# libGL error: failed to load driver: swrast
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
|
|
}
|
|
|