24 lines
750 B
Bash
24 lines
750 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=libepoxy
|
|
pkgver=1.5.4
|
|
pkgrel=2
|
|
pkgdesc="Library handling OpenGL function pointer management"
|
|
url="https://github.com/anholt/libepoxy"
|
|
arch=(i686 x86_64)
|
|
license=(Expat)
|
|
depends=(glibc mesa-libgl)
|
|
makedepends=(python meson doxygen)
|
|
source=(https://github.com/anholt/$pkgname/releases/download/$pkgver/libepoxy-$pkgver.tar.xz)
|
|
sha512sums=('7bde6fe7164aaa88b6e476dafb13391c551c530267936a1456e242d2bf648117f319788ba089100b3f773444098a894db6d27326b47dc4ae26db4766308d7510')
|
|
|
|
build() {
|
|
hyperbola-meson $pkgname-$pkgver build -D docs=true
|
|
ninja -C build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
install -Dm644 $pkgname-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
|
|
}
|