# Contributor: Valery Kartel # Maintainer: Natanael Copa pkgname=libepoxy pkgver=1.5.3 pkgrel=0 pkgdesc="Direct Rendering Manager runtime library" url="https://github.com/anholt/libepoxy" arch="all" license="MIT" options="!check" # Requires dlvsym depends="" depends_dev="libx11-dev mesa-dev" makedepends="$depends_dev autoconf automake libtool util-macros python3" install="" subpackages="$pkgname-dev" source="https://github.com/anholt/libepoxy/releases/download/$pkgver/libepoxy-$pkgver.tar.xz" prepare() { cd "$builddir" default_prepare autoreconf -vif } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ --disable-static \ --enable-shared make } check() { cd "$builddir" make check } package() { cd "$builddir" make install DESTDIR="$pkgdir" } sha512sums="746dfe2a0a91319abd3906c75f81f6b895117f39120e0d8897db1daec1b6d2e91e1318f0dfe588c81907727b0a6dd1a7e4a819ee6b3063a23875312570464720 libepoxy-1.5.3.tar.xz"