mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 12:41:55 +01:00
Fix cmake breakage, thanks user @teawrecks
The fix is to leave the original binaries in /opt/playdate-sdk/bin and create symlinks in /usr/bin that point to those binaries. For details, see user @teawrecks’s comment [1]. [1] https://aur.archlinux.org/packages/playdate-sdk#comment-872192 Suggested-by: teawrecks
This commit is contained in:
parent
d43d636e70
commit
66a51c4096
2 changed files with 4 additions and 4 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = playdate-sdk
|
||||
pkgdesc = SDK for the Playdate console with Lua and C APIs, docs, and a simulator
|
||||
pkgver = 1.12.0
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://play.date/dev/
|
||||
install = playdate-sdk.install
|
||||
arch = x86_64
|
||||
|
|
|
|||
6
PKGBUILD
6
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=playdate-sdk
|
||||
pkgver=1.12.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='SDK for the Playdate console with Lua and C APIs, docs, and a simulator'
|
||||
arch=('x86_64')
|
||||
url='https://play.date/dev/'
|
||||
|
|
@ -84,8 +84,8 @@ package() {
|
|||
"${pkgdir}/opt/${pkgname}"
|
||||
|
||||
echo >&2 'Packaging executables'
|
||||
mv -t "${pkgdir}/usr/bin" \
|
||||
"${pkgdir}/opt/${pkgname}/bin/"{pdc,pdutil}
|
||||
ln -s -t "${pkgdir}/usr/bin" \
|
||||
"/opt/${pkgname}/bin/"{pdc,pdutil}
|
||||
install -D -m 755 -T \
|
||||
"${srcdir}/playdate-simulator.shim" \
|
||||
"${pkgdir}/usr/bin/PlaydateSimulator"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue