From dbba8deb4bcfa3a9993c7dfb7a98bcba46501231 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 6 Dec 2024 17:46:25 +1000 Subject: [PATCH] Packaging: Fix path in pkgbuild/spec --- scripts/packaging/arch/PKGBUILD | 4 ++-- scripts/packaging/fedora/duckstation.spec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/packaging/arch/PKGBUILD b/scripts/packaging/arch/PKGBUILD index 35a47a5ac..b1db54fc2 100644 --- a/scripts/packaging/arch/PKGBUILD +++ b/scripts/packaging/arch/PKGBUILD @@ -120,8 +120,8 @@ package() { install -Dm755 scripts/packaging/duckstation-qt "${pkgdir}/usr/bin/duckstation-qt" # install desktop file and icon - install -Dm644 scripts/${_desktopname}.desktop "${pkgdir}/usr/share/applications/${_desktopname}.desktop" - install -Dm644 scripts/${_desktopname}.png "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_desktopname}.png" + install -Dm644 scripts/packaging/${_desktopname}.desktop "${pkgdir}/usr/share/applications/${_desktopname}.desktop" + install -Dm644 scripts/packaging/${_desktopname}.png "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_desktopname}.png" # install license install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" diff --git a/scripts/packaging/fedora/duckstation.spec b/scripts/packaging/fedora/duckstation.spec index 0959cb9a1..a8f8ca4d9 100644 --- a/scripts/packaging/fedora/duckstation.spec +++ b/scripts/packaging/fedora/duckstation.spec @@ -71,8 +71,8 @@ ninja -C build %{?_smp_mflags} rm -fr %{buildroot} ninja -C build install install -Dm755 scripts/packaging/duckstation-qt %{buildroot}/usr/bin/duckstation-qt -install -Dm644 scripts/org.duckstation.DuckStation.png %{buildroot}/usr/share/icons/hicolor/512x512/apps/org.duckstation.DuckStation.png -install -Dm644 scripts/org.duckstation.DuckStation.desktop %{buildroot}/usr/share/applications/org.duckstation.DuckStation.desktop +install -Dm644 scripts/packaging/org.duckstation.DuckStation.png %{buildroot}/usr/share/icons/hicolor/512x512/apps/org.duckstation.DuckStation.png +install -Dm644 scripts/packaging/org.duckstation.DuckStation.desktop %{buildroot}/usr/share/applications/org.duckstation.DuckStation.desktop %files %license LICENSE