You are not logged in.
Pages: 1
I just created a working build of firefox 3.0.8 from source without using abs. I am wondering how I would be able to turn my build into a package that I can install via pacman.
I don't really know what information I need to give but any help would be appriciated.
Offline
Without a PKGFILE for makepkg to use, it kinda difficult...
You'll need to manually tar up every file belonging to the installation, and then manually create a .PKGINFO file to add to the tarball. Extract the PKGINFO from an existing package to see the format...
May I ask why you made your own without using the ABS/AUR? And why you now what to package it?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
I'm running arch for fun and expirience, so I thought that compiling something the normal way would be a good thing to learn.
I was overlooking things as usual, but I have run into a new problem. When I run the "make package" command it creates a bzip and not the gzip as required by pacman.
Offline
The make package command? Do you mean makepkg? If you mean literally "make package", Firefox probably has a make routine to make a basic tar of its compiled binaries, and that's it.
Last edited by Ranguvar (2009-04-17 04:12:06)
Offline
This example does the job for both Firefox and Thunderbird to /usr/local ...
build() {
cd ${srcdir}/${pkgname}
mkdir -p ${pkgdir}/usr/local/{bin,share}
mv ${srcdir}/${pkgname} ${pkgdir}/usr/local/share/
ln -s /usr/local/share/${pkgname}/${pkgname} ${pkgdir}/usr/local/bin/${pkgname}
}
You will need to extract the contents of the bz2 package to the appropriate build directory, of course.
Last edited by adamlau (2009-04-17 07:43:25)
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
I'm running arch for fun and expirience, so I thought that compiling something the normal way would be a good thing to learn.
I was overlooking things as usual, but I have run into a new problem. When I run the "make package" command it creates a bzip and not the gzip as required by pacman.
but...abs IS the normal way. It just keeps track of all the files installed and makes the package for pacman...., which, is exactly what you're asking how to do.
If you want to compile a custom firefox for yourself, do it in the form of a PKGBUILD
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol
Offline
Pages: 1