blob: 0a5a48a22d47053e7126cfe8b2eaba8949648a09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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 --libdir=/usr/lib
ninja -C _build
}
#check() {
# cd "$_name/_build"
#
# ninja test
#}
package() {
cd "$_name/_build"
env DESTDIR="$pkgdir" ninja install
}
|