Package Details: ant-gtk-theme 1.3.0-5

Git Clone URL: https://aur.archlinux.org/ant-gtk-theme.git (read-only, click to copy)
Package Base: ant-gtk-theme
Description: A flat and light theme with a modern look
Upstream URL: https://github.com/EliverLara/Ant
Licenses: GPL
Conflicts: ant-gtk-theme-git, ant-slim-gtk-theme
Submitter: jaxmetalmax
Maintainer: benpiano800
Last Packager: benpiano800
Votes: 14
Popularity: 0.000000
First Submitted: 2017-10-11 16:02 (UTC)
Last Updated: 2022-02-01 20:59 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

GordonGR commented on 2018-02-14 18:35 (UTC)

nwallace, your patch doesn't download anything.

nwallace commented on 2018-02-08 23:09 (UTC)

Yet another update to this PKGBUILD. Maintainer -- this patch dynamically finds the file id. If you incorporate this, all you'll have to do for new releases is update the checksum

--- PKGBUILD.old    2018-02-08 16:42:33.574693468 -0600
+++ PKGBUILD.new    2018-02-08 17:04:43.215334283 -0600
@@ -5,13 +5,15 @@
 arch=(any)
 url=https://www.gnome-look.org/p/1099856/
 depends=('gtk3')
-md5sums=('d2b3f9ccbe756d84f473ce4ce9edcae2')
+md5sums=('b05709eda39eaed737696e4b65c5946d')

 # Hash and Timestamp (taken from macos-icon-theme pkgbuild)
-_p="var \(hash = '\(.*\)\|timetamp = '\(.*\)\)';"
-read _s _t <<< $(echo -n $(curl -s $url | sed -n "s/$_p/\2\3/p"))
+_p="var hash = '\(.*\)';\|var timetamp = '\(.*\)';\|data-ppload-collection-id=\"\(.*\)\">"
+read _collectionid _hash _token <<< $(echo -n $(curl -s $url | sed -n "s/$_p/\1\2\3/p"))

-source=("https://dl.opendesktop.org/api/files/downloadfile/id/1516251112/s/$_s/t/$_t/u//Ant.tar")
+_fileid="$(curl -s "https://dl.opendesktop.org/api/files/index?collection_id=$_collectionid" | grep -Po '<files_(\d+)>.*<name>Ant.tar</name>.*\/files_\1>' | sed 's/.*<id>\(.*\)<\/id>.*/\1'/)"
+
+source=("https://dl.opendesktop.org/api/files/downloadfile/id/$_fileid/s/$_hash/t/$_token")

 package(){
    cd "$srcdir"

zexias commented on 2018-02-02 10:49 (UTC)

Anyone seeing this?

==> ERROR: Failure while downloading https://dl.opendesktop.org/api/files/downloadfile/id/1516251112/s/4440992489786b2c784e6fd0dcf10a82/t/1517572130/u//Ant.tar Aborting...

aggraef commented on 2018-01-21 08:37 (UTC)

A new version has just been released at https://www.gnome-look.org/p/1099856/. Required changes in the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 037f274..25bdf37 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,17 @@
 pkgname=ant-gtk-theme
 pkgver=1.0.3
-pkgrel=7
+pkgrel=8
 pkgdesc="Ant Theme for GTK 3.x"
 arch=(any)
 url=https://www.gnome-look.org/p/1099856/
 depends=('gtk3')
-md5sums=('d2b3f9ccbe756d84f473ce4ce9edcae2')
+md5sums=('e0ebf4a5e60a30e6bf3cca841b87e7dd')

 # Hash and Timestamp (taken from macos-icon-theme pkgbuild)
 _p="var \(hash = '\(.*\)\|timetamp = '\(.*\)\)';"
 read _s _t <<< $(echo -n $(curl -s $url | sed -n "s/$_p/\2\3/p"))

-source=("https://dl.opendesktop.org/api/files/downloadfile/id/1516251112/s/$_s/t/$_t/u//Ant.tar")
+source=("https://dl.opendesktop.org/api/files/downloadfile/id/1516511114/s/$_s/t/$_t/u//Ant.tar")

 package(){
        cd "$srcdir"

Similar changes will be needed for the other variants. These are wonderful themes, thanks for packaging these. I was about to do that when I noticed that it's already there. AUR wonderland. :) I also suggested to EliverLara, the upstream artist, to make the other variants available at https://github.com/EliverLara/Ant, that should make things easier for package maintainers.

One suggestion: As themes go, these packages aren't huge. Why not package all the variants together? That would make installation more convenient and maintenance easier as well (IMHO).

nwallace commented on 2018-01-03 22:14 (UTC)

To fix 403 error, apply this patch to the PKGBUILD:

8c8
< md5sums=('dad8e83340d4d7c8d90567ebe8445e38')
---
> md5sums=('bb7726a7eae49cad13d782f6bd0e0316')
12c12
< read _s _t <<< $(echo -n $(curl -s $url | sed -n "s/$_p/\2\3/p"))
---
> read _id _s _t <<< $(echo -n $(curl -s $url | sed -n "s/$_p/\1\2\3/p"))
14c14
< source=("https://dl.opendesktop.org/api/files/downloadfile/id/1511326909/s/$_s/t/$_t/Ant.tar")
---
> source=("https://dl.opendesktop.org/api/files/downloadfile/id/$_id/s/$_s/t/$_t/Ant.tar")

ainola commented on 2017-11-21 19:02 (UTC)

Seeing as someone else decided to make a package in the AUR which is now more popular, I'm going to just merge this package into ant-gtk-theme.

Trollwut commented on 2017-11-21 15:09 (UTC)

curl: (22) The requested URL returned error: 403 Forbidden ==> ERROR: Failure while downloading https://dl.opendesktop.org/api/files/download/id/1510031090/Ant.tar Aborting... I guess the author changed the download URLs. May you please fix that? :>

<deleted-account> commented on 2017-11-15 02:43 (UTC)

curl: (22) The requested URL returned error: 403 Forbidden ==> ERROR: Failure while downloading https://dl.opendesktop.org/api/files/download/id/1509163136/Ant.tar.xz Aborting... ==> ERROR: Makepkg was unable to build ant-gtk-theme. ==> Restart building ant-gtk-theme ? [y/N] Get this error pls fix

<deleted-account> commented on 2017-11-15 02:40 (UTC)

Thanks for maintaining this theme under AUR.

ainola commented on 2017-11-08 03:11 (UTC)

N.B. The author did not push a new version but released a new version... Anyone using an AUR helper will need to clear their cache as it will think that the same version's hash doesn't match up.