You are not logged in.

#1 2007-11-11 22:28:07

justin_p
Member
From: VA, USA
Registered: 2005-02-16
Posts: 11

Change source location in PKGBUILD

Is there a way to change the PKGBUILD script to use the source file I have already downloaded?  This is for my son's computer that is not attached to the web.  I have tried changing the source line to /home/justin/builds/gcompris/gcompris.8.4.tar.gz.  Not luck.  Thanks.

Justin

Offline

#2 2007-11-11 22:41:51

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: Change source location in PKGBUILD

you may need to attach the protocoal 'file://' .. or either copy, move or symlink the sources to the $startdir

Offline

#3 2007-11-11 22:44:42

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Change source location in PKGBUILD

What is the error message that you get when you try to build the package?

Offline

#4 2007-11-11 22:52:09

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Change source location in PKGBUILD

try making the source 'gcompris.8.4.tar.gz' and make sure its in the same directory as the PKGBUILD file. This works when PKGBUILDs include shell scripts, patches, and the like, so it should work with other sources.  You shouldn't actually have to even change the download location, makepkg checks in the directory before it attempts to download the file.

Dusty

Offline

#5 2007-11-12 00:04:45

justin_p
Member
From: VA, USA
Registered: 2005-02-16
Posts: 11

Re: Change source location in PKGBUILD

The file:// worked.  Now I keep getting "no targets specified and no makefile found".  I am at a loss for that one.  make is installed.  I am using the PKGBUILD from AUR except the source location.

Offline

#6 2007-11-12 00:11:20

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Change source location in PKGBUILD

have you tried building the package on another machine and copying the whole package across?

Edit: (Install the copied package with "pacman -U packagename.pkg.tar.gz")

Dusty

Offline

#7 2007-11-12 00:18:02

justin_p
Member
From: VA, USA
Registered: 2005-02-16
Posts: 11

Re: Change source location in PKGBUILD

I would if my main machine was running arch.  I need to DL the 64-bit iso.

Offline

#8 2007-11-12 00:39:51

justin_p
Member
From: VA, USA
Registered: 2005-02-16
Posts: 11

Re: Change source location in PKGBUILD

The error is now "checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool."  I looked and the latest version of perl fixes it.

EDIT:  New version of perl fixes the problem.

Last edited by justin_p (2007-11-12 01:06:08)

Offline

Board footer

Powered by FluxBB