blob: 213455b4732b8b1f33501024037bbf7544dc86c5 (
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
|
# Maintainer: Nikolay Arhipov <n@arhipov.net>
pkgname=vitasdk-git
pkgver=2.521
pkgrel=1
pkgdesc="VITASDK homebrew toolchain for Sony Playstation Vita"
arch=('i686' 'x86_64')
url="https://vitasdk.org/"
license=('MIT' 'GPL')
options=(!strip)
makedepends=(
'wget'
'git'
)
provides=(
'vitasdk'
'psvita-sdk'
)
replaces=(
'psvita-sdk'
)
source=("sudo-fix.patch" "vitasdk.sh" "git+https://github.com/vitasdk/vdpm")
md5sums=('1213c1c23d734af92553ac8801443d36'
'ad2be6056f393a9f834127c9e994d42f'
'SKIP')
pkgver() {
wget -qO- https://github.com/vitasdk/vita-headers/raw/master/.travis.d/last_built_toolchain.py | python3 - master linux | sed -n 's/.*\/download\/master-.*-v\(.*\)\/vitasdk.*/\1/p'
}
prepare() {
cd "vdpm"
patch --forward --strip=1 --input="$srcdir/sudo-fix.patch"
}
package() {
install -Dm755 "vitasdk.sh" "${pkgdir}/etc/profile.d/vitasdk.sh"
export VITASDK="$pkgdir/opt/vitasdk"
cd "vdpm"
./bootstrap-vitasdk.sh
}
|