Commit e4551e5b authored by Vitaly Lipatov's avatar Vitaly Lipatov

just import winetricks-20230310.tar with rpmgs script

parent c757f1ac
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '09 18 * * *'
jobs:
linkcheck:
runs-on: ubuntu-latest
steps:
- name: checkout project
uses: actions/checkout@v2
- name: run linkcheck
run: ./src/linkcheck.sh crawl
...@@ -19,7 +19,7 @@ Depends: ...@@ -19,7 +19,7 @@ Depends:
unzip, unzip,
Recommends: Recommends:
fuseiso | archivemount, fuseiso | archivemount,
policykit-1 | gksu | kde-cli-tools | kdesudo, pkexec | policykit-1 | gksu | kde-cli-tools | kdesudo,
sudo, sudo,
wine, wine,
xdg-utils, xdg-utils,
......
...@@ -41,6 +41,14 @@ fi ...@@ -41,6 +41,14 @@ fi
datadir="${TOP}/output/links.d" datadir="${TOP}/output/links.d"
mkdir -p "${datadir}" mkdir -p "${datadir}"
# This is used by url-script-fragment.tmp below in extract_all()
# shellcheck disable=SC2317
w_download() {
url="${1}"
urlkey="$(echo "${url}" | tr / _)"
echo "${url}" > "${datadir}/${urlkey}.url"
}
# Extract list of URLs from winetricks # Extract list of URLs from winetricks
extract_all() { extract_all() {
# w_linkcheck_ignore=1 is a stupid hack to tell linkcheck.sh to ignore a URL (e.g., because it contains a variable) # w_linkcheck_ignore=1 is a stupid hack to tell linkcheck.sh to ignore a URL (e.g., because it contains a variable)
......
...@@ -93,7 +93,9 @@ else ...@@ -93,7 +93,9 @@ else
fi fi
# create local tarball, identical to github's generated one # create local tarball, identical to github's generated one
git archive --prefix="winetricks-${version}/" -o "${tmpdir}/${version}.tar.gz" "${version}" git -c tar.tar.gz.command='gzip -cn' \
archive --format=tar.gz --prefix="winetricks-${version}/" \
-o "${tmpdir}/${version}.tar.gz" "${version}"
# create a detached signature of the tarball # create a detached signature of the tarball
gpg --armor --default-key 0x267BCC1F053F0749 --detach-sign "${tmpdir}/${version}.tar.gz" gpg --armor --default-key 0x267BCC1F053F0749 --detach-sign "${tmpdir}/${version}.tar.gz"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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