You are not logged in.

#1 2006-06-21 10:05:43

bubupl
Member
From: Poland
Registered: 2006-06-21
Posts: 25
Website

My first PKGBUILD - ccd2iso

Hello smile
Today I needed some tool for convert IMG file to ISO file, so I used google and found tool: ccd2iso. I searched in Arch Repo but I cannot find it.

I thinked, would be great if I would make my first pkg...
I made somethink like this:

# Maintainer: Pawel Borkowski <pawcio>
pkgname=ccd2iso-cvs
pkgver=20060621
pkgrel=1
pkgdesc="Converts CloneCD .img files into .iso files"
url="http://sourceforge.net/projects/ccd2iso/"
groups=
provides=
depends=()
makedepends=('cvs')
conflicts=('ccd2iso')
replaces=(ccd2iso-cvs)
source=()
md5sums=()

_cvsmod="ccd2iso"
_cvsroot=":pserver:anonymous@ccd2iso.cvs.sourceforge.net:/cvsroot/ccd2iso"


build() {
        cd $startdir/src
        msg "Connecting to ccd2iso.sourceforge.net CVS server..."
        cvs -z3 -d$_cvsroot co -f $_cvsmod

        msg "CVS checkout done or server timeout"
        msg "Starting make..."

        cd $_cvsmod
        ./configure --prefix=/usr || return 1
        make prefix=$startdir/pkg/usr install || return 1
}

Could You tell me, this works for You? All is ok?

Make pkg is great game! ;-)

greetings from Poland
Paul

Offline

#2 2006-06-21 11:09:23

IsSuE
Member
Registered: 2006-04-29
Posts: 309

Re: My first PKGBUILD - ccd2iso

works for me!

Offline

#3 2006-06-21 11:09:47

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

Re: My first PKGBUILD - ccd2iso

Starting with a CVS build - that's what I call getting stuck in. 8)

bubupl wrote:

I searched in Arch Repo but I cannot find it.

You need to search the AUR as well - it's here.
Of course, if you want the CVS version, then go ahead with what you're doing.

# Maintainer: Pawel Borkowski <pawcio>
pkgname=ccd2iso-cvs
pkgver=20060621
pkgrel=1
pkgdesc="Converts CloneCD .img files into .iso files"
url="http://sourceforge.net/projects/ccd2iso/"
groups=
provides=
depends=()
makedepends=('cvs')
conflicts=('ccd2iso')
replaces=(ccd2iso-cvs)
source=()
md5sums=()

_cvsmod="ccd2iso"
_cvsroot=":pserver:anonymous@ccd2iso.cvs.sourceforge.net:/cvsroot/ccd2iso"


build() {
        cd $startdir/src
        msg "Connecting to ccd2iso.sourceforge.net CVS server..."
        cvs -z3 -d$_cvsroot co -f $_cvsmod

        msg "CVS checkout done or server timeout"
        msg "Starting make..."

        cd $_cvsmod
        ./configure --prefix=/usr || return 1
        make prefix=$startdir/pkg/usr install || return 1
}

Your PKGBUILD is not completely compliant with the CVS/SVN PKGBUILD Guidelines. Please review the section on preserving the integrity of the checked-out code, and make the necessary changes as per the example given.

Happy packaging.  smile

Offline

#4 2006-11-17 03:48:11

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: My first PKGBUILD - ccd2iso

sudo ccd2iso thp-sr.r1.img supermanreturns.iso

Segmentation fault.....

well im getting a lot of this error on my arch atly...at first i only noticed on beryl but now i see its getting worst..can some one help??


Its a sick world we live in....

Offline

#5 2006-11-17 21:42:55

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: My first PKGBUILD - ccd2iso

help please? this segmentation fault is getting on my nerves....


Its a sick world we live in....

Offline

#6 2006-11-17 22:26:31

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: My first PKGBUILD - ccd2iso

Are you using the CVS package ?

Keep in mind that CVS is often used for development code, and can give lots of errors.
Try converting another img to determine if the seg fault might be due to the superman img.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB