blob: 43aab84d1b009c3b2d18a7605c0d116eff876f9b (
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
39
40
41
|
pkgname=libepoxy-git
_name=libepoxy
pkgver=1.2.25.r229.ga2a5190
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')
depends=() # ???
makedepends=("xorg-util-macros" "libx11" "python" "git")
provides=("libepoxy")
conflicts=("libepoxy")
options=('!libtool')
source=("git+https://github.com/anholt/libepoxy.git")
pkgver() {
cd $_name
#echo $(git rev-list --count HEAD).$(git describe --tags --long | tr -d v | tr - .)
echo $(git describe --long --tags | cut -d 'g' -f1)r$(git rev-list HEAD --count).g$(git describe --always) | tr -d v | tr - .
}
build() {
# export CFLAGS="-Og -ggdb"
# export CXXFLAGS="-Og -ggdb"
cd "$_name"
./autogen.sh --prefix=/usr
#./configure --prefix=/usr
}
#check() {
# cd "$_name"
# make -k check
#}
package() {
cd "$_name"
make DESTDIR="$pkgdir" install
}
md5sums=('SKIP')
|