summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 98f99db18859fb5d3f4ee34304216f8118f88c52 (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
# Contributor: xantares <xantares09 at hotmail dot com>

pkgname=psp-opengl
_commit=30ffef7bb75ba70eccede93288d7bb429a2e4709
pkgver=r12.30ffef7
pkgrel=1
pkgdesc="OpenGL libraries for PSP"
arch=(any)
url="https://github.com/pspdev/pspgl"
license=('BSD')
groups=('psp')
depends=('psp-sdk')
makedepends=('psp-gcc' 'git')
options=('!buildflags' '!strip' 'staticlibs')
source=("git+https://github.com/pspdev/pspgl.git#commit=$_commit")
md5sums=('SKIP')

pkgver() {
  cd pspgl
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build()
{
  cd "$srcdir/pspgl"
  make
}

package()
{
  cd "$srcdir/pspgl"
  make install PSPPATH="$pkgdir"/usr/psp
}