portproton.sh 871 Bytes
Newer Older
1 2 3 4
#!/bin/sh

PKGNAME=portproton
SUPPORTEDARCHES="x86_64"
5
VERSION="$2"
6
DESCRIPTION='PortProton (from the repository if the package is there, or from the official site)'
7
URL="https://github.com/Castro-Fidel/PortProton_dpkg/releases"
8 9 10

. $(dirname $0)/common.sh

11
if ! epm install portproton ; then
12
    PKGURL="$(eget --list --latest https://github.com/Castro-Fidel/PortProton_dpkg/releases "portproton_${VERSION}amd64.deb")"
13
    install_pkgurl
14 15
fi

16 17
# TODO: get from  grep '^###Scripts version ' PortWINE/data_from_portwine/changelog_eng | head -n1
###Scripts version 2172###
18
#VERSION="$(eget -O- https://api.github.com/repos/Castro-Fidel/PortWINE/commits/HEAD | grep '"message": "Scripts version' | sed -e 's|.*Scripts version ||' -e 's|".*||' )"
19
#epm pack --install $PKGNAME https://github.com/Castro-Fidel/PortWINE/archive/refs/heads/master.tar.gz $VERSION
20 21

epm play i586-fix