You are not logged in.

#1 2014-10-18 12:12:50

jerik
Member
Registered: 2009-03-02
Posts: 197

PKGBUILD script for Gambas SVN

Hi!

Some time ago I found an old PKGBUILD script for Gambas SVN that I've successfully used to make and install Gambas with. The problem with this is that it builds Gambas as one package, while it is recommended to build it like the stable version as done in the arch Community repo: https://www.archlinux.org/packages/?q=gambas. One important reason for this is that install packages created by the Gambas IDE depends on these individual packages to install.

I was wondering if someone could direct me how to make a PKGBUILD script for Gambas SVN that does this? There are some directions on the Gambas Wiki here: http://gambaswiki.org/wiki/howto/package

Offline

#2 2014-10-18 12:27:03

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 292

Re: PKGBUILD script for Gambas SVN

You can use the provides=() array to specify component provided by your package see https://wiki.archlinux.org/index.php/PKGBUILD#provides

Offline

#3 2014-10-18 12:28:41

jerik
Member
Registered: 2009-03-02
Posts: 197

Re: PKGBUILD script for Gambas SVN

Hey! I think that looks too simple tongue

I will try that smile

Offline

#4 2014-12-26 00:01:23

jerik
Member
Registered: 2009-03-02
Posts: 197

Re: PKGBUILD script for Gambas SVN

@lordheavy, are you the maintainer for Gambas on Arch? If not, do you know who is?
I was wondering if it would be possible to have a look at the PKGBUILD file that is used?
It would really be nice to learn how to seperate the components when making an arm package, because graphical stuff is not always needed/wanted.

Thanks!

Offline

#5 2014-12-26 00:09:36

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: PKGBUILD script for Gambas SVN

jerik wrote:

I was wondering if it would be possible to have a look at the PKGBUILD file that is used?

You can use the ABS to download the PKGBUILD for the (many) Gambas packages available.

Offline

#6 2014-12-26 00:31:13

jerik
Member
Registered: 2009-03-02
Posts: 197

Re: PKGBUILD script for Gambas SVN

Head_on_a_Stick wrote:
jerik wrote:

I was wondering if it would be possible to have a look at the PKGBUILD file that is used?

You can use the ABS to download the PKGBUILD for the (many) Gambas packages available.

Oh, OK smile It is very strange, but $ sudo pacman -S abs told me that the package did not exist, so I downloaded it from the arch website and installed it.
Then, now when I run it, this happens:

# abs
==> Downloading tarballs...
    ==> core...
==> ERROR: Download failed
    ==> extra...
==> ERROR: Download failed
    ==> community...
==> ERROR: Download failed
    ==> multilib...
==> ERROR: Download failed

Last edited by jerik (2014-12-26 00:31:50)

Offline

#7 2014-12-26 00:33:46

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: PKGBUILD script for Gambas SVN

I think you need to:

# pacman -Syu abs

ASAP...

Last edited by Head_on_a_Stick (2014-12-26 00:34:23)

Offline

#8 2014-12-26 00:42:39

jerik
Member
Registered: 2009-03-02
Posts: 197

Re: PKGBUILD script for Gambas SVN

roll Man, I must be tired... I forgot I am running NetrunnerOS on my laptop roll roll roll
Let me move over to the one with arch and try again big_smile

Last edited by jerik (2014-12-26 00:43:07)

Offline

Board footer

Powered by FluxBB