vita3k-git: update PKGBUILD
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
d68aaa55ea
commit
2cf164585b
1 changed files with 6 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
# Contributor: aimileus < $(echo YWltaWxpdXNAcHJvdG9ubWFpbC5jb20K | base64 -d)
|
||||
_pkgname=vita3k
|
||||
pkgname=${_pkgname}-git
|
||||
pkgver=r1241.74c50634
|
||||
pkgver=r1255.daff95ff
|
||||
pkgrel=1
|
||||
pkgdesc="Experimental PlayStation Vita emulator"
|
||||
arch=('x86_64')
|
||||
|
@ -131,13 +131,14 @@ build() {
|
|||
package() {
|
||||
cd "${_pkgname}"
|
||||
|
||||
install -d -m 755 "${pkgdir}/opt/"
|
||||
install -d -m 755 "${pkgdir}/usr/bin/"
|
||||
install -d -m 755 "${pkgdir}/opt/vita3k/"
|
||||
|
||||
# 777 permissions are sadly needed for now for it to work because vita3k
|
||||
# creates a log file in the same directory as the binary
|
||||
rsync -rtl --perms --chmod=777 "build-linux/bin/" "${pkgdir}/opt/vita3k"
|
||||
cp -r "build-linux/bin/"* "${pkgdir}/opt/vita3k/"
|
||||
ln -s "/opt/vita3k/Vita3K" "${pkgdir}/usr/bin/vita3k"
|
||||
|
||||
# This folder needs 777 permissions because vita3k creates a log file
|
||||
chmod 777 "${pkgdir}/opt/vita3k/"
|
||||
|
||||
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue