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

pkgname=psp-pspirkeyb
pkgver=0
pkgrel=1
pkgdesc="This is a library for using IRDA keyboards with Playstation Portable (psp)"
arch=(any)
url="https://github.com/pspdev/psp-ports"
license=('GPL')
groups=('psp')
depends=('psp-sdk')
makedepends=('psp-gcc' 'git')
options=('!buildflags' '!strip' 'staticlibs')
source=("git+https://github.com/pspdev/psp-ports.git"
        0001-Use-PSPDIR-var-in-pspirkeyb-pspgl.patch)
md5sums=('SKIP' 'SKIP')


prepare()
{
  cd "$srcdir/psp-ports"
  patch -p1 -i "$srcdir"/0001-Use-PSPDIR-var-in-pspirkeyb-pspgl.patch
}

build()
{
  cd "$srcdir/psp-ports/pspirkeyb"
  make
}

package()
{
  cd "$srcdir/psp-ports/pspirkeyb"
  make install PSPDIR="$pkgdir"/usr/psp
}