diff options
author | eugene | 2021-11-18 03:54:50 +0000 |
---|---|---|
committer | eugene | 2021-11-18 03:54:50 +0000 |
commit | 080997601ef258f0e9f9ba2e0f3468a9753f413e (patch) | |
tree | 5ab3b8b479563cd6b70097467e65329ee0058068 | |
parent | bdf5021c0d8cba6a056986acfa4efe61c2f746cb (diff) | |
download | aur-080997601ef258f0e9f9ba2e0f3468a9753f413e.tar.gz |
adapt to download portal changes
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -11,8 +11,7 @@ makedepends=(curl) url="https://www.gnome-look.org/p/1084939/" license=('GPL') _url='https://www.gnome-look.org/dl?file_id=1515308735&file_type=application/x-bzip2&file_name=OSX-ElCap-(KDE).R2.tar.bz2&file_size=31214&has_torrent=0&project_id=1084939&link_type=download&is_external=false&external_link=null' -_cookie="$(curl -sLv "$_url" 2>&1 | grep -Po '(?<=Set-Cookie: __ocs_id\=)[^;]+(?=;)')" -source=("$(curl -sSL "$_url" -X 'POST' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64)' -H "Cookie: __ocs_id=$_cookie" | grep -Po '(?<=top.location.href \= ")[^"]+(?=")')") +source=("$(curl -sSL "$_url" -X 'POST' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64)' -b "$(curl -sL -c - "$_url")" | tr -d ' ' | grep -Po '(?<=top.location.href\=")[^"]+(?=")')") sha512sums=('7db6bc6266fc99358e35d203b767ffb9a6883bad40d8f4332f85214609859583c29e637a339cc1f386e581bc43cd9365088cc277c8ee1493c49d03f17ec45695') package() { |