summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnonymous Coward2020-04-25 21:12:26 +0200
committerAnonymous Coward2020-04-25 21:12:26 +0200
commitd6b6fbe5f72d6d483564a4ef848ee05a6f628a9b (patch)
treeb66e3283374738ca1283688fed1ddf8322db0937
parent07837c14292b2b60bd11d619c8573e0850d07ddb (diff)
downloadaur-d6b6fbe5f72d6d483564a4ef848ee05a6f628a9b.tar.gz
Added desktop files for Qt version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 55a3573a261..5328abbed23 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = duckstation-git
pkgdesc = A Sony PlayStation (PSX), focusing on playability, speed, and long-term maintainability
pkgver = 0.1.r1239.e6bd658
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/stenzek/duckstation
arch = x86_64
arch = aarch64
diff --git a/PKGBUILD b/PKGBUILD
index 9fb9ab02120..168508d31f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=duckstation-git
pkgver=0.1.r1239.e6bd658
pkgdesc='A Sony PlayStation (PSX), focusing on playability, speed, and long-term maintainability'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'aarch64')
url="https://github.com/stenzek/duckstation"
license=('GPLv3')
@@ -34,4 +34,11 @@ package() {
install -m 755 -d "${pkgdir}/usr/bin/"
install -m 755 -t "${pkgdir}/usr/bin/" src/duckstation-sdl/duckstation-sdl src/duckstation-qt/duckstation-qt
+
+ install -m 755 -d "${pkgdir}/usr/share/applications/"
+ install -m 644 appimage/duckstation-qt.desktop "${pkgdir}/usr/share/applications/duckstation.desktop"
+ sed -e 's/Terminal=true/Terminal=false/' -e 's/Name=DuckStation Qt/Name=DuckStation/' -e 's/Icon=duckstation-qt/Icon=duckstation/' -i "${pkgdir}/usr/share/applications/duckstation.desktop"
+
+ install -m 755 -d "${pkgdir}/usr/share/pixmaps/"
+ install -m 644 appimage/icon-64px.png "${pkgdir}/usr/share/pixmaps/duckstation.png"
}