Skip to content

Commit

Permalink
ref(*): drop _archive usage from all -app packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ook37 committed Nov 24, 2024
1 parent dddafd1 commit dba83d3
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 16 deletions.
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
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ 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"
Expand Down
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

0 comments on commit dba83d3

Please sign in to comment.