Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e31d1de10b | ||
|
|
f1a68ef364 | ||
|
|
1e478850ca | ||
|
|
410b3c4b3a | ||
|
|
bd8173c524 | ||
|
|
7ed190017e |
No files matched your search
@@ -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"
|
||||||
|
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
|
# Maintainer: pascalyazid <your-email@example.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"
|
||||||
}
|
}
|
||||||
@@ -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" \
|
||||||
|
|||||||
Reference in new issue
Block a user