3 changed files with 17 additions and 4 deletions

No files matched your search

+6 -2
View File
@@ -107,7 +107,7 @@ jobs:
if: env.SKIP != '1'
run: |
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
git clone "${{ gitea.server_url }}/${{ env.PACKAGING }}.git" .
cp ../src/packages/desktop/appimage/io.github.viren070.aiostreams.AppImage \
@@ -117,6 +117,10 @@ jobs:
PKGBUILD
chown -R builder:builder .
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 }}" \
--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"
+5 -2
View File
@@ -1,6 +1,7 @@
# Maintainer: pascalyazid <your-email@example.com>
pkgname=aiostreams-desktop-bin
pkgver=0.0.0
pkgrel=1
pkgver=0.18.0
pkgrel=2
pkgdesc="The AIOStreams app in a native window, playing through mpv"
arch=('x86_64')
url="https://github.com/Viren070/AIOStreams"
@@ -27,4 +28,6 @@ package() {
-t "$pkgdir/usr/share/applications"
install -d "$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"
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"
[ -f "$linuxdeploy" ] || {
curl -fsSL -o "$linuxdeploy" \