summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnonymous Coward2021-05-05 20:52:19 +0200
committerAnonymous Coward2021-05-05 20:52:19 +0200
commit473a1f97cdb34f7ef8c75daac51c890042dfa9c4 (patch)
tree62423b112cc3805bf341b98f3a746892eefc458e
parent8c581f8363ec1e2f1245fa13883252f864373464 (diff)
downloadaur-473a1f97cdb34f7ef8c75daac51c890042dfa9c4.tar.gz
Fix translations
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a5f8f71b56..3c97ed84ba0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = duckstation-git
pkgdesc = A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability
pkgver = preview.r4442.d3fea7b5
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/stenzek/duckstation
arch = x86_64
arch = aarch64
diff --git a/PKGBUILD b/PKGBUILD
index 056004119e8..645840bff8a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
pkgname=duckstation-git
pkgver=preview.r4442.d3fea7b5
pkgdesc='A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'aarch64')
url="https://github.com/stenzek/duckstation"
license=('GPL3')
@@ -32,7 +32,12 @@ package() {
cd "${srcdir}/duckstation"
install -m 755 -d "${pkgdir}/usr/bin/"
- install -m 755 -t "${pkgdir}/usr/bin/" bin/duckstation-nogui bin/duckstation-qt
+ install -m 755 -t "${pkgdir}/usr/bin/" bin/duckstation-nogui
+
+ install -m 755 -d "${pkgdir}/usr/lib/duckstation/translations/"
+ install -m 755 -t "${pkgdir}/usr/lib/duckstation/translations/" bin/translations/*.qm
+ install -m 755 -t "${pkgdir}/usr/lib/duckstation/" bin/duckstation-qt
+ ln -s /usr/lib/duckstation/duckstation-qt "${pkgdir}/usr/bin/duckstation-qt"
install -m 755 -d "${pkgdir}/usr/share/applications/"
install -m 644 dist/duckstation-qt.desktop "${pkgdir}/usr/share/applications/duckstation.desktop"