Author SHA1 Message Date
pascalyazid 6bac8a6829 Update PKGBUILD 2026-10-26 12:57:31 +01:00
pascalyazid e31d1de10b Update PKGBUILD 2026-10-23 11:37:46 +02:00
pascalyazid f1a68ef364 Update .gitea/workflows/appimage.yml 2026-10-22 00:20:33 +02:00
pascalyazid 1e478850ca Update .gitea/workflows/appimage.yml 2026-10-22 00:06:39 +02:00
pascalyazid 410b3c4b3a fix: normalize package permissions; fill pkgver; pkgrel 2 2026-10-21 23:49:50 +02:00
pascalyazid bd8173c524 Update make-appimage.sh 2026-10-21 23:32:44 +02:00
pascalyazid 7ed190017e Update PKGBUILD 2026-10-21 23:32:15 +02:00
3 changed files with 16 additions and 3 deletions

No files matched your search

+6 -2
View File
@@ -107,7 +107,7 @@ jobs:
if: env.SKIP != '1' if: env.SKIP != '1'
run: | run: |
set -euo pipefail set -euo pipefail
useradd -m builder # makepkg refuses to run as root id builder >/dev/null 2>&1 || useradd -m builder
mkdir pkg && cd pkg mkdir pkg && cd pkg
git clone "${{ gitea.server_url }}/${{ env.PACKAGING }}.git" . git clone "${{ gitea.server_url }}/${{ env.PACKAGING }}.git" .
cp ../src/packages/desktop/appimage/io.github.viren070.aiostreams.AppImage \ cp ../src/packages/desktop/appimage/io.github.viren070.aiostreams.AppImage \
@@ -117,6 +117,10 @@ jobs:
PKGBUILD PKGBUILD
chown -R builder:builder . chown -R builder:builder .
su builder -c "cd '$PWD' && makepkg -f" su builder -c "cd '$PWD' && makepkg -f"
# the filename is whatever pkgver-pkgrel the PKGBUILD declares;
# [0-9] keeps the -debug package out of the match
pkgfile=$(ls aiostreams-desktop-bin-[0-9]*.pkg.tar.zst)
curl --user "${{ env.OWNER }}:${{ secrets.PUBLISH_TOKEN }}" \ curl --user "${{ env.OWNER }}:${{ secrets.PUBLISH_TOKEN }}" \
--upload-file "aiostreams-desktop-bin-${{ env.VERSION }}-1-x86_64.pkg.tar.zst" \ --upload-file "$pkgfile" \
"${{ gitea.server_url }}/api/packages/${{ env.OWNER }}/arch/aiostreams" "${{ gitea.server_url }}/api/packages/${{ env.OWNER }}/arch/aiostreams"
+4 -1
View File
@@ -1,5 +1,6 @@
# Maintainer: pascalyazid pascal@pascalyazid.com
pkgname=aiostreams-desktop-bin pkgname=aiostreams-desktop-bin
pkgver=0.0.0 pkgver=0.18.0
pkgrel=1 pkgrel=1
pkgdesc="The AIOStreams app in a native window, playing through mpv" pkgdesc="The AIOStreams app in a native window, playing through mpv"
arch=('x86_64') arch=('x86_64')
@@ -27,4 +28,6 @@ package() {
-t "$pkgdir/usr/share/applications" -t "$pkgdir/usr/share/applications"
install -d "$pkgdir/usr/share/icons" install -d "$pkgdir/usr/share/icons"
cp -r "$share/icons/hicolor" "$pkgdir/usr/share/icons/" cp -r "$share/icons/hicolor" "$pkgdir/usr/share/icons/"
chmod -R a+rX,go-w "$pkgdir"
} }
+6
View File
@@ -139,6 +139,12 @@ fi
echo 'exec "$APPDIR/usr/bin/aiostreams-desktop" "$@"' >> "$appdir/AppRun" echo 'exec "$APPDIR/usr/bin/aiostreams-desktop" "$@"' >> "$appdir/AppRun"
chmod +x "$appdir/AppRun" chmod +x "$appdir/AppRun"
# Release-normal permissions: the CI runs with a restrictive umask, and squashfs
# and pacman record staged modes verbatim, so 700 root-owned directories would
# otherwise be installed unreadable. Directories end up 755, executables keep
# their bits, and data files 644.
chmod -R a+rX,go-w "$appdir"
linuxdeploy="$tools/linuxdeploy-$image_arch" linuxdeploy="$tools/linuxdeploy-$image_arch"
[ -f "$linuxdeploy" ] || { [ -f "$linuxdeploy" ] || {
curl -fsSL -o "$linuxdeploy" \ curl -fsSL -o "$linuxdeploy" \