summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b66987259042d689fd131695a2a72a118ec55ef (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
pkgname=psp-oslib-git
pkgver=r144.d8ad579
pkgrel=1
pkgdesc="OldSchool Library (psp)"
arch=(any)
url="https://github.com/dogo/oslibmodv2"
license=('GPL3')
groups=('psp')
depends=('psp-sdk' 'psp-libjpeg' 'psp-libpng')
makedepends=('psp-gcc' 'git')
provides=('psp-oslib')
conflicts=('psp-oslib')
options=('!buildflags' '!strip' 'staticlibs')
source=("git+https://github.com/dogo/oslibmodv2.git")
md5sums=('SKIP')

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

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

package()
{
  cd "$srcdir/oslibmodv2"
  make install DESTDIR="$pkgdir"
}