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
Unnecessarily complicated, if you ask me. Why not just edit the allegro PKGBUILD and use ABS?
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.
...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.
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.
ok then i'll take a deeper look into ABS...