portprotonqt 0.1.9-1

This commit is contained in:
2025-12-08 21:23:18 +00:00
parent efb87a20f4
commit 419e38d8aa

163
portprotonqt/alr.sh Normal file
View File

@@ -0,0 +1,163 @@
_name='PortProtonQt'
name='portprotonqt'
version='0.1.9'
release='1'
desc='A modern GUI for PortProton project'
desc_ru='Современный графический интерфейс для проекта PortProton'
homepage='https://github.com/Boria138/PortProtonQt'
maintainer="Евгений Храмов <xpamych@yandex.ru>"
architectures=('all')
licenses='MIT'
provides=('portprotonqt')
conflicts=('portprotonqt')
# Runtime dependencies
deps_arch=(
'python'
'python-babel'
'python-evdev'
'python-numpy'
'python-orjson'
'python-psutil'
'pyside6'
'python-pyudev'
'python-requests'
'python-tqdm'
'python-pillow'
'python-vdf'
'icoextract'
'perl-image-exiftool'
'xdg-utils'
)
deps_debian=(
'python3'
'python3-babel'
'python3-evdev'
'python3-numpy'
'python3-orjson'
'python3-psutil'
'python3-pyside6.qtcore'
'python3-pyside6.qtgui'
'python3-pyside6.qtwidgets'
'python3-pyudev'
'python3-requests'
'python3-tqdm'
'python3-pil'
'python3-vdf'
'icoextract'
'libimage-exiftool-perl'
'xdg-utils'
)
deps_rhel=(
'python3'
'python3-babel'
'python3-evdev'
'python3-numpy'
'python3-orjson'
'python3-psutil'
'python3-pyside6'
'python3-pyudev'
'python3-requests'
'python3-tqdm'
'python3-pillow'
'perl-Image-ExifTool'
'xdg-utils'
)
deps_redos=("${deps_rhel[@]}")
deps_rosa=(
'python3'
'python3-babel'
'python3-evdev'
'python3-numpy'
'python3-psutil'
'python3-pyside6'
'python3-pyudev'
'python3-requests'
'python3-tqdm'
'python3-pillow'
'perl-Image-ExifTool'
'xdg-utils'
)
deps_alt=(
'python3'
'python3-module-babel'
'python3-module-evdev'
'python3-module-numpy'
'python3-module-orjson'
'python3-module-psutil'
'python3-module-pyside6'
'python3-module-pyudev'
'python3-module-requests'
'python3-module-tqdm'
'python3-module-pillow'
'perl-Image-ExifTool'
'xdg-utils'
)
# Build dependencies
build_deps_arch=(
'python'
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
'git'
)
build_deps_debian=(
'python3'
'python3-build'
'python3-installer'
'python3-setuptools'
'python3-wheel'
'git'
)
build_deps_rhel=(
'python3'
'python3-build'
'python3-installer'
'python3-setuptools'
'python3-wheel'
'git'
)
build_deps_redos=("${build_deps_rhel[@]}")
build_deps_rosa=("${build_deps_rhel[@]}")
build_deps_alt=(
'python3'
'python3-module-build'
'python3-module-installer'
'python3-module-setuptools'
'python3-module-wheel'
'git-core'
)
sources=("git+https://github.com/Boria138/$_name.git#tag=v${version}")
checksums=('SKIP')
build() {
cd "$srcdir/$_name"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$_name"
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
cp -r build-aux/share "$pkgdir/usr/"
install-license LICENSE portprotonqt/LICENSE
}
files() {
files-find-bin
files-find-lib
files-find-share "applications"
files-find-share "icons"
files-find-share "licenses"
}