Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(*): drop _archive usage from all -app packages #6701

Merged
merged 3 commits into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/bazecor-app/bazecor-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ maintainer=("Elsie19 <[email protected]>")
repology=("project: bazecor")

package() {
cd "${_archive}"
cd "${srcdir}"
mkdir -p "${pkgdir}/usr/share/icons/hicolor/256x256/apps/" "${pkgdir}/usr/share/applications/"
echo "[Desktop Entry]
Name=Bazecor
Expand Down
2 changes: 1 addition & 1 deletion packages/joplin-desktop-app/joplin-desktop-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ arch=("amd64")
maintainer=("lfromanini <[email protected]>")

package() {
cd "${_archive}"
cd "${srcdir}"
install -Dm755 "Joplin-${pkgver}.AppImage" "${pkgdir}/usr/bin/${gives}"
install -Dm644 "${srcdir}/joplin-desktop.png" "${pkgdir}/usr/share/pixmaps/joplin-desktop.png"
mkdir -p "${pkgdir}/usr/share/applications/"
Expand Down
2 changes: 1 addition & 1 deletion packages/krita-app/krita-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ arch=("amd64")
maintainer=("harrietobrien <[email protected]>")

package() {
cd "${_archive}"
cd "${srcdir}"
chmod +x "${gives}-${pkgver}-x86_64.appimage"
install -Dm755 "${gives}-${pkgver}-x86_64.appimage" "${pkgdir}/usr/bin/${gives}"
install -Dm644 "${srcdir}/krita.svgz" "${pkgdir}/usr/share/pixmaps/krita.svgz"
Expand Down
2 changes: 1 addition & 1 deletion packages/librewolf-app/librewolf-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ package() {
gnuarch="aarch64"
fi

cd "${_archive}"
cd "${srcdir}"
# Install appimage
install -Dm755 "LibreWolf.${gnuarch}.AppImage" "${pkgdir}/usr/bin/${gives}"

Expand Down
4 changes: 2 additions & 2 deletions packages/lunarclient-app/lunarclient-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ sha256sums=(
)

build() {
cd "${_archive}"
cd "${srcdir}"
sed -i "s/REPLACE_VERSION/${pkgver}/" "${srcdir}/${_gives}.desktop"
}

package() {
cd "${_archive}"
cd "${srcdir}"
# AppImage
install -Dm755 \
"${_appimage}" \
Expand Down
1 change: 1 addition & 0 deletions packages/minecraft-pi-reborn-app/.SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pkgbase = minecraft-pi-reborn-app
pkgver = 2.5.3
pkgdesc = Minecraft Pi edition reborn with new features and for x86 pc.
arch = amd64
makedepends = desktop-file-utils
breaks = minecraft-pi-reborn-git
breaks = minecraft-pi-reborn-deb
breaks = minecraft-pi-reborn-bin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ gives="minecraft-pi-reborn"
pkgver="2.5.3"
breaks=("${gives}-git" "${gives}-deb" "${gives}-bin" "minecraft-pi-reborn-client")
pkgdesc="Minecraft Pi edition reborn with new features and for x86 pc."
makedepends=('desktop-file-utils')
sha256sums=(
"f00e77a85fbab907af274416fb1c4b78216c1c49a992eeeb54378269a5171156"
"SKIP"
Expand All @@ -20,16 +21,19 @@ maintainer=("cat-master21 <[email protected]>")
repology=("project: ${gives}")

prepare() {
cd "${_archive}"
cd "${srcdir}"
mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/share/metainfo" "${pkgdir}/usr/share/applications" "${pkgdir}/usr/share/icons/hicolor/256x256/apps"
}

package() {
cd "${_archive}"
cd "${srcdir}"
install -Dm644 "minecraft-pi-reborn-client-${pkgver}-amd64.AppImage" "${pkgdir}/usr/bin/minecraft-pi-reborn-client"
chmod +x "${pkgdir}/usr/bin/minecraft-pi-reborn-client"
install -Dm644 "${srcdir}/com.thebrokenrail.MCPIRebornClient.desktop" "${pkgdir}/usr/share/applications/com.thebrokenrail.MCPIRebornClient.desktop"
install -Dm644 "${srcdir}/com.thebrokenrail.MCPIRebornClient.appdata.xml" "${pkgdir}/usr/share/metainfo/com.thebrokenrail.MCPIRebornClient.appdata.xml"
install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/com.thebrokenrail.MCPIRebornClient.png"
}

post_install() {
update-desktop-database -q
}
2 changes: 1 addition & 1 deletion packages/mymonero-app/mymonero-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ maintainer=("Elsie19 <[email protected]>")
repology=("project: mymonero")

package() {
cd "${_archive}"
cd "${srcdir}"
install -Dm755 "MyMonero-${pkgver}.AppImage" "${pkgdir}/usr/bin/mymonero"
install -Dm644 "${srcdir}/MyMonero.png" "${pkgdir}/usr/share/pixmaps/MyMonero.png"
mkdir -p "${pkgdir}/usr/share/applications/"
Expand Down
2 changes: 1 addition & 1 deletion packages/neovim-app/neovim-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repology=("project: neovim")
maintainer=("Elsie19 <[email protected]>")

package() {
cd "${_archive}"
cd "${srcdir}"
chmod +x nvim.appimage
install -Dm755 "nvim.appimage" "${pkgdir}/usr/bin/nvim"
}
2 changes: 1 addition & 1 deletion packages/rpcs3-app/rpcs3-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ maintainer=("Thomas Crha <[email protected]>")
sha256sums=("470a2998e2f8e545aa3975043983794dcd1a1f07464899b156c9cb32b2dfe2b2")

package() {
cd "${_archive}"
cd "${srcdir}"
install -Dm755 "rpcs3-v${pkgver}-${pkgsha:0:8}_linux64.AppImage" "${pkgdir}/usr/bin/rpcs3"
}
# vim:set ft=sh ts=2 sw=2 et:
2 changes: 1 addition & 1 deletion packages/suyu-app/suyu-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ maintainer=("vigress8 <[email protected]>")
repology=("project: ${gives}")

package() {
cd "${_archive}"
cd "${srcdir}"
chmod +x "${appimage}"
./"${appimage}" --appimage-extract usr/share
cp -a squashfs-root/usr "${pkgdir}"
Expand Down
2 changes: 1 addition & 1 deletion packages/texstudio-app/texstudio-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repology=("project: ${gives}")
maintainer=("vigress8 <[email protected]>")

package() {
cd "${_archive}"
cd "${srcdir}"
chmod +x "${appimage}"
./"${appimage}" --appimage-extract "${gives}.desktop" &> /dev/null
./"${appimage}" --appimage-extract "${gives}.svg" &> /dev/null
Expand Down
2 changes: 1 addition & 1 deletion packages/tutanota-app/tutanota-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repology=("project: tutanota" "repo: homebrew_casks")

__created_desktop_file="yes"
package() {
cd "${_archive}"
cd "${srcdir}"
# Install AppImage
install -Dm755 "tutanota-desktop-linux.AppImage" "${pkgdir}/usr/bin/${gives}"

Expand Down
2 changes: 1 addition & 1 deletion packages/upscayl-app/upscayl-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ breaks=("${gives}" "${gives}-deb" "${gives}-bin" "${gives}-git")
repology=("project: ${gives}")

package() {
cd "${_archive}"
cd "${srcdir}"
# Install appimage
install -Dm755 "Upscayl-${pkgver}-linux.AppImage" "${pkgdir}/usr/bin/${gives}"

Expand Down
2 changes: 1 addition & 1 deletion packages/walc-app/walc-app.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sha256sums=("6c1e5c004e9c4bc5a8cf15837ce0e6c884fb3ace6397aa6aa95a6738c1960560")
breaks=("${gives}" "${gives}-bin" "${gives}-git" "${gives}-deb")

package() {
cd "${_archive}"
cd "${srcdir}"
# Install binary
install -Dm755 "${gives}.AppImage" "${pkgdir}/usr/bin/${gives}"
}
Expand Down
1 change: 1 addition & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -6805,6 +6805,7 @@ pkgbase = minecraft-pi-reborn-app
pkgver = 2.5.3
pkgdesc = Minecraft Pi edition reborn with new features and for x86 pc.
arch = amd64
makedepends = desktop-file-utils
breaks = minecraft-pi-reborn-git
breaks = minecraft-pi-reborn-deb
breaks = minecraft-pi-reborn-bin
Expand Down
Loading