libepoxy 1.5.10-1

This commit is contained in:
xhaa123 2024-04-16 21:19:43 +08:00
commit d89dcee457

34
PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=libepoxy
pkgver=1.5.10
pkgrel=1
pkgdesc="Library handling OpenGL function pointer management"
arch=('x86_64')
url="https://github.com/anholt/libepoxy"
license=('MIT')
depends=('glibc' 'mesa' 'libx11')
makedepends=('meson')
source=(https://download.gnome.org/sources/libepoxy/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
sha256sums=(072cda4b59dd098bba8c2363a6247299db1fa89411dc221c8b81b8ee8192e623)
build() {
cd ${pkgname}-${pkgver}
meson setup build \
--prefix=/usr \
--buildtype=release \
-Dlibdir=/usr/lib64
meson compile -C build
}
package() {
cd ${pkgname}-${pkgver}
meson install -C build --destdir ${pkgdir}
}