summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7560fd9ee1be3cfb36a4b3dfa2f3a5eaf181dbe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=psp-pthreads-emb
pkgver=1.0
pkgrel=1
pkgdesc="POSIX Threads for embedded systems (psp)"
arch=('any')
url="http://pthreads-emb.sourceforge.net/"
license=('LGPL')
depends=('psp-sdk' 'psp-pspirkeyb')
makedepends=('psp-gcc')
options=('staticlibs' '!buildflags' '!strip')
source=("git+https://github.com/jschmidlapp/pthreads-emb.git")
md5sums=('SKIP')

build() {
  cd "$srcdir"/pthreads-emb
  make -C platform/psp TARGET_LIB=libpthread.a
}

package() {
  cd "$srcdir"/pthreads-emb
  make -C platform/psp DESTDIR="$pkgdir" TARGET_LIB=libpthread.a install
}