You are not logged in.

#1 2012-06-13 23:24:20

xworld
Member
Registered: 2012-05-27
Posts: 153

[SOLVED]PKGBUILD does not exist

Hello Arch Forums. I recently downloaded a zip file from the AUR and extracted it in my home folder. I attempted to install it after reading the related part in the Arch Wiki:

Installing packages from the AUR is a relatively simple process. Essentially:

    Acquire the tarball which contains the PKGBUILD and possibly other required files
    Extract the tarball (preferably in a folder set aside just for builds from the AUR)
    Run makepkg in the directory where the files are saved ("makepkg -s" will auto-resolve dependencies with pacman)

However when I get to the part about running makepkg I get an error saying: PKGBUILD does not exist. I've refered to the pkgbuild section and the makepkg section. What am I missing?

Last edited by xworld (2012-06-13 23:46:04)

Offline

#2 2012-06-13 23:27:45

Media Player
Member
Registered: 2012-06-13
Posts: 2

Re: [SOLVED]PKGBUILD does not exist

Which package are you talking about ?

Offline

#3 2012-06-13 23:30:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,166
Website

Re: [SOLVED]PKGBUILD does not exist

You don't need to download the tarball or worry about most of that.  Just get the PKGBUILD from the AUR page, and run makepkg in the same directory as where you save it.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#4 2012-06-13 23:33:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]PKGBUILD does not exist

Trilby wrote:

You don't need to download the tarball or worry about most of that.  Just get the PKGBUILD from the AUR page, and run makepkg in the same directory as where you save it.

Unless the PKGBUILD calls an install file or some other resource that may be included in the tarball...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-06-13 23:33:38

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]PKGBUILD does not exist

Actually it is a zip file. I downloaded the archey zip file. So you are saying that I don't need to extract it I just need to download the file and run makepkg in the right directory?

Offline

#6 2012-06-13 23:36:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]PKGBUILD does not exist

There is no zip file on the Archey AUR page: it is a tar.gz file...


xworld wrote:

Acquire the tarball which contains the PKGBUILD and possibly other required files
    Extract the tarball (preferably in a folder set aside just for builds from the AUR)
    Run makepkg in the directory where the files are saved ("makepkg -s" will auto-resolve dependencies with pacman)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2012-06-13 23:37:46

Media Player
Member
Registered: 2012-06-13
Posts: 2

Re: [SOLVED]PKGBUILD does not exist

xworld wrote:

Actually it is a zip file. I downloaded the archey zip file. So you are saying that I don't need to extract it I just need to download the file and run makepkg in the right directory?

archey (AUR) is fine ( tar.gz, PKGBUILD included ), so .. Try again smile

Offline

#8 2012-06-13 23:39:50

progandy
Member
Registered: 2012-05-17
Posts: 5,221

Re: [SOLVED]PKGBUILD does not exist

xworld wrote:

Actually it is a zip file. I downloaded the archey zip file. So you are saying that I don't need to extract it I just need to download the file and run makepkg in the right directory?

Download archey.tar.gz and extract it or just download the PKGBUILD (since there are no extra files)

mkdir /tmp/build_archey
cd /tmp/build_archey
wget https://aur.archlinux.org/packages/ar/archey/PKGBUILD
makepkg -s

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#9 2012-06-13 23:45:39

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]PKGBUILD does not exist

Hmm. Ok so instead I ran wget https://aur.archlinux.org/packages/arch … ey3.tar.gz. Then then tar xfvz archey3.tar.gz and then cd'd to archey3 and ran makepkg. Then ran pacman. Thanks for the fast responses everyone.

Offline

#10 2012-06-21 05:00:34

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]PKGBUILD does not exist

I hate to bring up an old topic and I assure you all that I've done the proper reading, but this just doesn't make any sense. I am trying to install a package from the AUR and I downloaded the tarball. I then ran tar xfvz 'aforementioned package'. The I cd'd to the folder that was created and ran makepkg. I get the same error as I did before: PKGBUILD does not exist. I don't understand why every package has a special way to install it.

Offline

#11 2012-06-21 05:04:54

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,358

Re: [SOLVED]PKGBUILD does not exist

xworld wrote:

I hate to bring up an old topic and I assure you all that I've done the proper reading, but this just doesn't make any sense. I am trying to install a package from the AUR and I downloaded the tarball. I then ran tar xfvz 'aforementioned package'. The I cd'd to the folder that was created and ran makepkg. I get the same error as I did before: PKGBUILD does not exist. I don't understand why every package has a special way to install it.

It doesn't. You're either (1) doing it wrong, or (2) the package is broken. Check for (2), but my money's on (1).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#12 2012-06-21 05:08:59

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]PKGBUILD does not exist

The method I mentioned worked for the archey package. So if every package is installed the same way than this should work just fine.

Offline

#13 2012-06-21 08:12:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]PKGBUILD does not exist

xworld wrote:

So if every package is installed the same way than this should work just fine.

jasonwryan wrote:

Unless the PKGBUILD calls an install file or some other resource that may be included in the tarball...


Or, you could just read the wiki and learn how to do it properly...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#14 2012-06-21 08:32:53

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 12,275
Website

Re: [SOLVED]PKGBUILD does not exist

Which package are you having trouble with?


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

Board footer

Powered by FluxBB