Saturday, August 30, 2014

How to: create old Arch packages

In case you need an old kernel package or e.g. an older skype version and don't have it anymore in /var/cache/pacman/pkg here is the way to get it again:

  1. get to your package site e.g. https://www.archlinux.org/packages/core/x86_64/linux/
  2. In the upper right Package Section of the page, click on View Changes.  Select the one you need e.g. 3.14.4-1
  3. click on tree
  4. download all the files in PLAIN (rightclick save as, careful remove .txt)
  5. makepkg -g >> PKGBUILD
  6. makepkg -s
  7. sudo pacman -U yourpackage

...or you just use the arch time machine archive :D