You are not logged in.
Hi,
i would like to get an old version of the numix-icon-theme-git package, because i need the old version for the wired-connection-icon. But Yaourt has no pkg-cache and i cant find it anywhere in the internet.
Is there a magic way, to do dat?
Last edited by Asbestbrezel (2016-11-24 21:48:43)
Offline
If it's a git package you can specify the git commit you wish to build (upstream code) but if you're wanting an older physical PKGBUILD, the AUR has a history you can pull from... see the 'view changes' link in the upper-right.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
But Yaourt has no pkg-cache
Yes it does:
EXPORT=0
Export built package to $EXPORTDIR or, if not defined to $PKGDEST (see makepkg.conf(5)). EXPORT=2 exports all built packages to pacman cache directory (see pacman.conf(5)).
So does makepkg:
PKGDEST="/path/to/directory"
If this value is not set, packages will, by default, be placed in the current directory (location of the PKGBUILD(5)). Many people like to keep all their packages in one place so this option allows for this behavior. A common location is “/home/packages”.
Configuring *either* one of those would keep previously built files around.
If you haven't configured either of these, then you are not caching old pkgs, so you will need to pull from the git commit you want and rebuild it as Graysky suggested.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
ok, i will setup yaourt like this, so i wont get any of those problems again, thank you.
But how do i do this git-pulling thing. Sorry, but i dont know so much about github. On the git-page i can change to the "backup-branch" but there is already the new icon in it.
Offline
Does this help? https://githowto.com/getting_old_versions
(found with an ixquick search for "git pull older version")
Last edited by 2ManyDogs (2016-11-24 19:13:43)
Offline
You don't need to keep a cache. Use Graysky's post to modify pkgbuild of aur package. I like to use cower.
cower -d numix-icon-theme-git
Then edit PKGBUILD in the source array.
Currently it says
source=('git+https://github.com/numixproject/numix-icon-theme.git')
You can point it to pull up to a certain commit. See https://wiki.archlinux.org/index.php/VC … guidelines
source=('project_name::git+http://project_url#branch=project_branch')
Now you are set. If you need to go forward or backward in commits, you can just edit PKGBUILD again and recompile.
Offline
works. thank you!
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline