You are not logged in.

#1 2013-03-24 17:50:38

ryanmichaelmcclure
Member
From: Cloudsdale, Equestria
Registered: 2012-10-26
Posts: 44
Website

Making Yaourt and pre-downloaded source files work

I attempted to download the package 'ryzom-client-official' through Yaourt, and every time the main file 'ryzom_client.7z' always fails to download about halfway through. I was able to use 'wget' to download the file from its source (https://sourceforge.net/projects/ryzom/ … _client.7z). Now, I am wondering if it is possible to tell Yaourt to use this file and proceed with the installation as normal rather than it wanting to download it. Is this possible?

-Ryan McClure

Offline

#2 2013-03-24 18:11:26

jynnantonix
Member
Registered: 2012-09-07
Posts: 33

Re: Making Yaourt and pre-downloaded source files work

If you put the downloaded file in the same folder as the PKGBUILD for ryzom-client-official, you should be able to just run makepkg -si and have it build and install correctly (assuming the md5sums match)

Offline

#3 2013-03-24 18:20:38

ryanmichaelmcclure
Member
From: Cloudsdale, Equestria
Registered: 2012-10-26
Posts: 44
Website

Re: Making Yaourt and pre-downloaded source files work

Would help if I read things before asking this question...This solution works incredibly well! Thank you good sir!

Offline

#4 2013-03-24 18:33:16

s1ln7m4s7r
Member
Registered: 2013-02-22
Posts: 262

Re: Making Yaourt and pre-downloaded source files work

The easiest way to install your package, i think it is to download the tarball from AUR. Unpack it. Place the file you downloaded inside the directory of PKGBUILD. Edit PKGBUILD line

source=(https://sourceforge.net/projects/ryzom/files/ryzom_client.7z

to

source=(ryzom_client.7z

then run

makepkg -s

inside the dir where's PKGBUILD. And finally install it with

pacman -U /path/to/pkg.tar.xz

Offline

#5 2013-03-24 19:16:56

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,265

Re: Making Yaourt and pre-downloaded source files work

There's no need for all that, makepkg only downloads a source file if there's no existing file with the same name, so modifying the sources array is pointless, and you can use the -i flag to automagically install the created package, so there's no need to call pacman manually. jynnantonix's post was spot on.

AUR helpers make you lazy, I suspect this topic wouldn't have been created in the first place if OP used makepkg  instead of relying on yaourt.

Last edited by WorMzy (2013-03-24 19:46:34)


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Offline

#6 2013-03-24 19:35:09

Awebb
Member
Registered: 2010-05-06
Posts: 4,320

Re: Making Yaourt and pre-downloaded source files work

Ryan, this is why I first did not go for Arch. I successfully installed the base system, fetched yaourt from a repo and tried to build some packages. All of them failed, because it was that time of the year, when yaourt needs an update, because of changes in pacman. I was under the false impression, that yaourt was some sort of official AUR build tool, so I went back to wherever I came from. It was not until I asked myself, how one is supposed to install yaourt, if it is actually an AUR package, if yaourt is not available. I read the wiki article again and was enlightened.

Offline

Board footer

Powered by FluxBB