Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bac8a6829 | ||
|
|
e31d1de10b | ||
|
|
f1a68ef364 | ||
|
|
1e478850ca | ||
|
|
410b3c4b3a | ||
|
|
bd8173c524 | ||
|
|
7ed190017e |
No files matched your search
@@ -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"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# Maintainer: pascalyazid pascal@pascalyazid.com
|
||||
pkgname=aiostreams-desktop-bin
|
||||
pkgver=0.0.0
|
||||
pkgver=0.18.0
|
||||
pkgrel=1
|
||||
pkgdesc="The AIOStreams app in a native window, playing through mpv"
|
||||
arch=('x86_64')
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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" \
|
||||
|
||||
Reference in new issue
Block a user