-
-
Save TingPing/5da5a3051916a2daa3e049f7e16c968c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=libepoxy-git | |
_name=libepoxy | |
pkgver=1.4.0.r0.g9628670 | |
pkgrel=1 | |
pkgdesc="Epoxy is a library for handling OpenGL function pointer management for you" | |
url="https://github.com/anholt/libepoxy" | |
arch=('i686' 'x86_64') | |
license=('BSD') | |
makedepends=("xorg-util-macros" "libx11" "python" "git" "meson") | |
provides=("libepoxy") | |
conflicts=("libepoxy") | |
source=("git+https://github.com/anholt/libepoxy.git") | |
md5sums=('SKIP') | |
pkgver() { | |
cd $_name | |
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | |
} | |
build() { | |
cd "$_name" | |
rm -rf _build | |
meson _build --buildtype=release --prefix=/usr | |
ninja -C _build | |
} | |
#check() { | |
# cd "$_name/_build" | |
# | |
# ninja test | |
#} | |
package() { | |
cd "$_name/_build" | |
env DESTDIR="$pkgdir" ninja install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment