Adding changes as per Guidelines

This commit is contained in:
Akshaj Tiwari 2026-01-28 00:19:07 +05:30
parent 0c56870a3a
commit 57dc32b502
2 changed files with 4 additions and 73 deletions

View file

@ -1,4 +1,4 @@
pkgbase = picto_py
pkgbase = pictopy-bin
pkgdesc = PictoPy - Desktop image gallery (Tauri/Python)
pkgver = 1.1.0
pkgrel = 2
@ -11,7 +11,7 @@ pkgbase = picto_py
depends = webkit2gtk
depends = python
depends = hicolor-icon-theme
source = picto_py-1.1.0.deb::https://github.com/tushar1977/PictoPy/releases/download/release/PictoPy_1.1.0_amd64.deb
source = pictopy-bin-1.1.0.deb::https://github.com/tushar1977/PictoPy/releases/download/release/PictoPy_1.1.0_amd64.deb
sha256sums = SKIP
pkgname = picto_py
pkgname = pictopy-bin

View file

@ -1,73 +1,4 @@
# # Maintainer: Your Name <you@email.com>
# pkgname=picto_py
# pkgver=1.1.0
# pkgrel=1
# pkgdesc="PictoPy - Desktop image gallery (Tauri)"
# arch=('x86_64')
# url="https://github.com/AOSSIE-Org/PictoPy"
# license=('GPL3')
# depends=(
# 'gtk3'
# 'webkit2gtk'
# 'python'
# )
# makedepends=('binutils')
# source=("picto_py_${pkgver}_amd64.deb::https://github.com/tushar1977/PictoPy/releases/download/release/PictoPy_${pkgver}_amd64.deb")
# sha256sums=('SKIP')
# package() {
# cd "$srcdir"
# # Extract .deb
# ar x "picto_py_${pkgver}_amd64.deb"
# tar -xf data.tar.*
# # Install filesystem
# cp -r usr "$pkgdir/"
# cp -r opt "$pkgdir/" 2>/dev/null || true
# # --- Fix backend executable permissions (CRITICAL) ---
# chmod +x "$pkgdir/usr/lib/PictoPy/resources/backend/PictoPy_Server"
# chmod +x "$pkgdir/usr/lib/PictoPy/resources/sync-microservice/PictoPy_Sync"
# # --- Wrapper launcher (fixes runtime permissions) ---
# install -Dm755 /dev/stdin "$pkgdir/usr/bin/pictopy" <<'EOF'
# #!/bin/bash
# export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
# export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
# APP_DATA="$XDG_DATA_HOME/PictoPy"
# APP_CACHE="$XDG_CACHE_HOME/PictoPy"
# mkdir -p "$APP_DATA" "$APP_CACHE"
# cd "$APP_DATA" || exit 1
# exec /opt/PictoPy/PictoPy "$@"
# EOF
# # --- Desktop entry (single, clean) ---
# rm -f "$pkgdir/usr/share/applications/PictoPy.desktop"
# install -Dm644 /dev/stdin \
# "$pkgdir/usr/share/applications/pictopy.desktop" <<EOF
# [Desktop Entry]
# Name=PictoPy
# Exec=picto_py
# Icon=PictoPy
# Type=Application
# Categories=Graphics;Utility;
# EOF
# }
# Maintainer: Your Name <you@email.com>
pkgname=picto_py
pkgname=pictopy-bin
pkgver=1.1.0
pkgrel=2
pkgdesc="PictoPy - Desktop image gallery (Tauri/Python)"