You are not logged in.

#1 2006-11-02 11:11:10

fdrebin
Member
Registered: 2005-04-25
Posts: 152

is this a valid way for building packages?

i just made a package for allegrogl. here's how i did it:
* i installed allegrogl in my home dir with the --prefix=$HOME argument in configure
* then i made a dir usr and copied all the files and folders that were installed in my home dir in this directory
* then i copied the .FILELIST and the .PKGINFO from the official allegro (without gl) package and adjusted theses files accordingly
* finally i made a tar.gz archive with the proper naming

--> works fine

Offline

#2 2006-11-02 11:47:43

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

Re: is this a valid way for building packages?

Unnecessarily complicated, if you ask me. Why not just edit the allegro PKGBUILD and use ABS?

Offline

#3 2006-11-02 11:54:04

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,950
Website

Re: is this a valid way for building packages?

...and then you installed this package with tar and adjusted some files in /var/lib/pacman/local...

*sorry* ;-)

Offline

#4 2006-11-02 11:55:49

fdrebin
Member
Registered: 2005-04-25
Posts: 152

Re: is this a valid way for building packages?

hmm until now i didn't know much about ABS. just reading http://wiki.archlinux.org/index.php/ABS ...
seems to be pretty similar to what i did - but for me my way wasn't that much work.

[edit]

...and then you installed this package with tar and adjusted some files in /var/lib/pacman/local...

eeh no? don't get what you want me to tell by this.
i just wanted an easy way to install and uninstall this library with pacman.

Offline

#5 2006-11-02 12:05:26

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

Re: is this a valid way for building packages?

I suppose it all depends what you mean by "a valid way". I just don't see the point of manually installing, copying, and editing files to create an Arch package, when Arch already provides tried and tested tools for that exact purpose.

Offline

#6 2006-11-02 12:08:02

fdrebin
Member
Registered: 2005-04-25
Posts: 152

Re: is this a valid way for building packages?

ok then i'll take a deeper look into ABS...

Offline

Board footer

Powered by FluxBB