You are not logged in.

#1 2006-09-15 02:42:47

adamk
Member
Registered: 2006-03-09
Posts: 36

How do you build a package from AUR ?

The user guidelines says a bunch of stuff - get package, untar it,
check PKGBUILD.

But then it says, 'go build the package'

I think this needs to be explained a little more in that guideline file.

   Thanks.


Adam Krolnik
Co-author "Assertion-Based Design"

Offline

#2 2006-09-15 03:40:41

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: How do you build a package from AUR ?

I agree it's not the best explanation, but all you need to do is type makepkg.

Offline

#3 2006-09-15 07:26:16

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How do you build a package from AUR ?

From the AUR User Guidelines, Section 3.1, "Using Packages from UNSUPPORTED":

It is suggested you use fakeroot to build pkgs (see below), so having manually confirmed the integrity of the files simply run makepkg as a normal user in the build dir. The source files will be downloaded, verified and built as normal.

(My emphasis)

Offline

#4 2006-09-15 09:25:50

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: How do you build a package from AUR ?

aurbuild?


Mr Green

Offline

#5 2006-09-15 13:40:38

adamk
Member
Registered: 2006-03-09
Posts: 36

Re: How do you build a package from AUR ?

Yes, makepkg is the answer, but I was trying to build and install a package from AUR.

I did something like:

makepkg
cd ../
pacman -A dir/<new>

Showing this is helpful...

   Thanks.


Adam Krolnik
Co-author "Assertion-Based Design"

Offline

#6 2006-09-15 14:06:51

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: How do you build a package from AUR ?

I do "makepkg" but (maybe I am doing something wrong) for many programs I need first download a *tar.bz2 or whatever it is to my computer, correct PKGBUILD and it works (pages where they asked for download location).

Offline

#7 2006-09-15 14:24:08

dadexter
Member
From: Dorval, QC, Canada
Registered: 2004-09-07
Posts: 274
Website

Re: How do you build a package from AUR ?

The assumption is that you already know how to install a package

Offline

#8 2006-09-19 13:16:59

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: How do you build a package from AUR ?

Aurbuild FTW.  I recommend you actually read the PKGBUILDs and try to get an idea of what they are doing though.  This way, eventually you'll be able to write your own PKGBUILDS.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

Board footer

Powered by FluxBB