core/libepoxy/PKGBUILD

36 lines
771 B
Bash
Raw Normal View History

# Maintainer: AlmAck
pkgname=libepoxy
2015-11-17 05:11:01 +08:00
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")
2015-11-17 05:11:01 +08:00
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
2015-11-17 05:11:01 +08:00
make -k check
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}