You are not logged in.

#1 2016-12-03 21:08:57

hamhock
Member
Registered: 2015-04-16
Posts: 94

[SOLVED] install binary from AUR instead of PKGBUILD

most recent 'brave' package from AUR did not build. 

maintainer verbote wrote:

It seems there is a problem with the npm version in the repo. Please stick to the binary releases for now (you are welcome to hack your private PKGBUILD to use an older npm).

instead of hacking the PKGBUILD, i would like to install the binary from https://aur.archlinux.org/packages/brave-bin

how do i proceed in downloading and installing the binary?

Last edited by hamhock (2016-12-03 21:55:13)

Offline

#2 2016-12-03 21:14:00

atomicbeef
Member
Registered: 2015-09-30
Posts: 98

Re: [SOLVED] install binary from AUR instead of PKGBUILD

I would recommend just changing the PKGBUILD (change the pkgver and update the sha512 sums), but you could always just download the release from Github directly (like the PKGBUILD does).

Last edited by atomicbeef (2016-12-03 21:15:13)

Offline

#3 2016-12-03 21:25:50

hamhock
Member
Registered: 2015-04-16
Posts: 94

Re: [SOLVED] install binary from AUR instead of PKGBUILD

i would prefer to install the binary.  i downloaded the Brave.tar.bz2 file.  i then tried:

tar -xvf Brave.tar.bz2

which created a folder: Brave-linux-x64  with a bunch of files and subfolders.

is this correct so far?  how should i proceed?

Offline

#4 2016-12-03 21:32:47

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [SOLVED] install binary from AUR instead of PKGBUILD

how do i proceed in downloading and installing the binary?

What do you mean? Just run makepkg as you would normally. That will create a package that you can install with pacman. Since it's a -bin package, nothing will be compiled, and if you read through the PKGBUILD you will see that it just moves files from the tarball into the correct places. The difference between doing this manually and running makepkg+installing the package is that you can later remove it using pacman if you need to.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2016-12-03 21:34:47

hoerbert
Member
Registered: 2013-04-03
Posts: 87

Re: [SOLVED] install binary from AUR instead of PKGBUILD

Ehm… You can build and install the brave-bin package like any other package from the AUR. Instead of the downloading the source code and compile a separate binary makepkg (via instructions from the PKGBUILD of brave-bin) will download the precompiled binary and build a package which pacman can install to your system. No need for manually downloading and copying stuff.

//Edit: Too slow… Far too slow…

Last edited by hoerbert (2016-12-03 21:36:10)

Offline

#6 2016-12-03 21:54:34

hamhock
Member
Registered: 2015-04-16
Posts: 94

Re: [SOLVED] install binary from AUR instead of PKGBUILD

hoerbert wrote:

Ehm… You can build and install the brave-bin package like any other package from the AUR. .... No need for manually downloading and copying stuff.

very helpful.  that worked - i was over-complicating things.

Offline

Board footer

Powered by FluxBB