You are not logged in.

#1 2010-03-10 19:32:28

starchos
Member
Registered: 2010-03-10
Posts: 26

[SOLVED] package creation

I have recently started to use Archlinux and I'm not used in this package creation system. I have used checkinstall earlier in Debian and Ubuntu. So because Firefox wont uninstall with 'make uninstall' I wanted to create a Arch installable package from already downloaded tar.xz package so I'd like to know how this is done, I have already done configure with custom options and make.

Last edited by starchos (2010-03-10 21:19:25)

Offline

#2 2010-03-10 19:34:50

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: [SOLVED] package creation

Everyone will tell you to use the Arch Build System.  Search for ABS in the wiki to get started.

Offline

#3 2010-03-10 19:44:51

starchos
Member
Registered: 2010-03-10
Posts: 26

Re: [SOLVED] package creation

# abs
==> Starting ABS sync...
rsync: failed to connect to rsync.archlinux.org: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]

Offline

#4 2010-03-10 19:49:51

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: [SOLVED] package creation

I'm a little confused as to why you want firefox to uninstall with "make uninstall". There is already a package for firefox, named firefox. Uninstall that using pacman. Have you read the beginners' guide on the wiki?

Offline

#5 2010-03-10 19:52:01

starchos
Member
Registered: 2010-03-10
Posts: 26

Re: [SOLVED] package creation

starchos wrote:

... I have already done configure with custom options and make.

I have my own wishes for some options

Last edited by starchos (2010-03-10 19:52:36)

Offline

#6 2010-03-10 19:55:30

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: [SOLVED] package creation

Ah, missed that. Yes, use abs. That's what it's designed for

Offline

#7 2010-03-10 20:00:13

starchos
Member
Registered: 2010-03-10
Posts: 26

Re: [SOLVED] package creation

I managed to get ABS rsync, it was my firewall which blocked it...

but there is limited amount of some abs files, and it seems that also this metod would work without ABS: http://wiki.archlinux.org/index.php/Makepkg I'd like to use this instead of ABS

I had just problem to put it in PKGBUILD file that I have local package.

and to correct I'm installing icecat which follows same installation/uninstallation as firefox

Last edited by starchos (2010-03-10 20:05:51)

Offline

#8 2010-03-10 20:51:59

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: [SOLVED] package creation

you can get the icecat package from the AUR, after which you can edit the PKGBUILD and eventually compile and install with makepkg.

Offline

#9 2010-03-10 21:12:30

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [SOLVED] package creation

i think you're misunderstanding.  already having done the config, make, make install won't help you.

if you just want to use a custom configure line then use ABS, edit the PKGBUILD with your custom ./configure flags before building it via makepkg.  then you install the resulting pkg.tar.gz which can be managed by pacman.

if you're using local/modified sources, you can pass a flag to makepkg to use existing sources in the build directory rather then re-downloading.

man makepkg for more.

that said, the icecat package in the AUR might better suit you.

Offline

#10 2010-03-10 21:13:52

starchos
Member
Registered: 2010-03-10
Posts: 26

Re: [SOLVED] package creation

Ok I managed to create one PKGBUILD file by myself and now makepkg is in make process. I understood finally this system it's wonderful, it takes some moments to learn out from earlier systems. For example if someone else wants this same software with same configurations I can just send one small txt file... and possibly create easier own repos if needed.. C00l

Offline

Board footer

Powered by FluxBB