diff options
author | Rafael Cruz | 2023-03-27 11:31:03 -0300 |
---|---|---|
committer | Rafael Cruz | 2023-03-27 11:31:03 -0300 |
commit | 959e3060c501185fab451b9deb17304f4936bafe (patch) | |
tree | f0c9e751472793277438166c81dc43060126df93 | |
parent | af9746a5e97d7acb4a62f3b5be7622c0682c4f77 (diff) | |
download | aur-959e3060c501185fab451b9deb17304f4936bafe.tar.gz |
Fix flycast lib not found error
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = fightcade2 pkgdesc = The best way to play your favorite retro games with or against any other player in the world. pkgver = 2.1.38 - pkgrel = 1 + pkgrel = 4 url = https://www.fightcade.com/ arch = any license = custom @@ -15,6 +15,7 @@ pkgbase = fightcade2 depends = libcurl-gnutls depends = libzip depends = miniupnpc + depends = lua53 source = fightcade2-2.1.38.tar.gz::https://web.fightcade.com/download/Fightcade-linux-latest.tar.gz md5sums = SKIP @@ -2,12 +2,12 @@ pkgname=fightcade2 pkgver=2.1.38 -pkgrel=1 +pkgrel=2 pkgdesc='The best way to play your favorite retro games with or against any other player in the world.' url='https://www.fightcade.com/' arch=('any') license=('custom') -depends=(rsync wine wine-mono lib32-mpg123 lib32-libxss lib32-libcurl-gnutls libcurl-gnutls libzip miniupnpc) +depends=(rsync wine wine-mono lib32-mpg123 lib32-libxss lib32-libcurl-gnutls libcurl-gnutls libzip miniupnpc lua53) makedepends=(gendesk) source=("$pkgname-$pkgver.tar.gz::https://web.fightcade.com/download/Fightcade-linux-latest.tar.gz") md5sums=('SKIP') @@ -76,6 +76,11 @@ prepare() { } package() { + # fix flycast lib not found error + install -dm755 $pkgdir/usr/lib + ln -s "/usr/lib/libzip.so" "$pkgdir/usr/lib/libzip.so.4" + ln -s "/usr/lib/liblua5.3.so" "$pkgdir/usr/lib/liblua5.3.so.0" + install -dm755 $HOME/.$pkgname/ install -dm755 $pkgdir/opt/ install -Dm644 "$srcdir/Fightcade/fc2-electron/resources/app/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" |