Commit acb49ca5 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play: added readest (eterbug #18910)

parent 9d0f74a8
#!/bin/sh
PKGNAME=readest
SUPPORTEDARCHES="x86_64 aarch64"
VERSION="$2"
DESCRIPTION="Modern, feature-rich ebook reader designed for avid readers offering seamless cross-platform access, powerful tools, and an intuitive interface"
URL="https://github.com/readest/readest"
. $(dirname $0)/common.sh
pkgtype="$(epm print info -p)"
case $pkgtype in
rpm)
pkgformat="rpm"
arch=$(epm print info -a)
PKGURL=$(get_github_url https://github.com/readest/readest "Readest-${VERSION}-1.$arch.$pkgformat")
;;
*)
pkgformat="deb"
arch=$(epm print info --debian-arch)
PKGURL=$(get_github_url https://github.com/readest/readest "Readest_${VERSION}_$arch.$pkgformat")
;;
esac
install_pkgurl
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
# workaround for Nvidia
fix_desktop_file "Exec=readest" "Exec=WEBKIT_DISABLE_DMABUF_RENDERER=1 readest"
# Fix empty License field from original package
subst "s|^License:.*|License: AGPL-3.0-or-later|" $SPEC
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment