braid-linux-build2.run.bin from Humble Indie Bundle 2 is required!
You must edit the PKGBUILD file.
source=("$_gamepkg"::"file://$_gamepkg"
Change the source line to this:
source=($_gamepkg
Don't extract the braid file. Just place it in the same directory as the PKGBUILD file.
Run makepkg
# makepkg -s
Then run pacman
pacman -U [filename].pkg.tar
YOU ARE DONE!
UPDATE!!!
AFTER THIS THREAD WAS SOLVED, THE AUR PACKAGE WAS UPDATED TO SOLVE THIS ERROR. JUST MAKE SURE YOU HAVE THE braid-linux-build2.run.bin FILE IN THE SAME DIRECTORY, AND THE INSTALL WILL WORK.
]]>Now you have two threads with people trying to assist you...
Merging.
]]>tdy wrote:I have no idea what this is for. Maybe someone else can enlighten me.
I figured it would increase the pool of participants. I didn't see the flaw in logic until after the posts were made. I will keep both updated once a solution is met.
My comment here was about the PKGBUILD itself. I hadn't see your other post yet. I didn't (don't) see the point of why they wrote a file handler like that.
]]>I have no idea what this is for. Maybe someone else can enlighten me.
I figured it would increase the pool of participants. I didn't see the flaw in logic until after the posts were made. I will keep both updated once a solution is met.
Your suggestion worked, but now I have a new problem, which is that I don't have the bin file. I think this AUR package is set to use a bin file from Humble Indie Bundle 2. I have a package that I can run via (which I was unaware of until a few minutes ago):
# chmod a+x [filename]
# ./[filename]
I am going to scour the internet for this bin file. If I find it I will post an update. If not, I will mark it as solved, since technically your advice did solve the error problem I was getting.
Thank you.
]]>That PKGBUILD looks odd. If you are manually copying the .bin file to the build directory, then there is no reason for the file:// entry to even be in the source array. I'd suggest just removing the entry from the source array - and then also remove the first checksum.
*blinks*
wat?
]]>source=("$_gamepkg"::"file://$_gamepkg"
Anyway, unless I'm missing something obvious about why they did that, change the source line to this:
source=($_gamepkg
Don't extract the braid file. Just leave it as a bin (apparently it should be braid-linux-build2.run.bin) and then run makepkg.
]]>I have installed numerous AUR packages in the past. However, this is the first that I am unable to figure out.
I assume I am supposed to extract the tar, copy the Braid package files (from my owned copy of Braid) to the same directory, run makepkg, then install via pacman. The problem I am having is when I go to use makepkg I get the following error:
# makepkg -s
==> Making package: braid 1.0.2-1 (DATE TIME)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> ERROR: There is no agent set up to handle file URLs. Check /etc/makepkg.conf.
Aborting...
I am not finding any solutions on Google. Please help!
Edit - Edited to show thread solved.
]]>