Package Details: ant-gtk-theme 1.2.0-1

Git Clone URL: https://aur.archlinux.org/ant-gtk-theme.git (read-only, click to copy)
Package Base: ant-gtk-theme
Description: Ant Theme for GTK 3.x
Upstream URL: https://www.gnome-look.org/p/1099856
Submitter: jaxmetalmax
Maintainer: None
Last Packager: mpento
Votes: 10
Popularity: 0.000378
First Submitted: 2017-10-11 16:02
Last Updated: 2018-10-07 03:58

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

mpento commented on 2018-05-27 22:27

Updated to the latest.

GordonGR commented on 2018-02-14 18:35

nwallace, your patch doesn't download anything.

nwallace commented on 2018-02-08 23:09

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

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

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

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

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

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? :>

bg15407 commented on 2017-11-15 02:43

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

bg15407 commented on 2017-11-15 02:40

Thanks for maintaining this theme under AUR.