You are not logged in.

#1 2004-05-04 08:35:38

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

[network: ftp] kasablanca

This is my first pkgbuild...

# $Id: PKGBUILD,v 1.01 2004/05/04 10:10:52 abaddon Exp $
# Maintainer: Abaddon <kukububu@go2.pl>
pkgname=kasablanca
pkgver=0.3.1
pkgrel=1
pkgdesc="FTP client with FXP support, based on qt library"
url="http://kasablanca.berlios.de/"
depends=('kdelibs' 'qt' 'openssl')
source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('7c7022cc9bb7c49da4fed2d8952c90cf')

build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
 make || return 1
make prefix=$startdir/pkg/usr install
cp /usr/bin/kbftp /opt/kde/bin
}

Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#2 2004-05-08 13:59:38

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: [network: ftp] kasablanca

Pkgbuild has been updated. Dependency on kdelibs was added.


Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#3 2004-05-15 20:34:32

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: [network: ftp] kasablanca

Will it get into one of repos?


Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#4 2004-05-15 23:04:34

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [network: ftp] kasablanca

i tried to build this pkg, but failed first ... then i changed the build() to this

build() {
        cd $startdir/src/$pkgname-$pkgver
        aclocal
        ./configure --prefix=/opt/kde
        make || return 1
        make DESTDIR=$startdir/pkg install
}

and then it worked

i had to add aclocal, because the source was prepared with automake 1.6 and we have 1.8 in archlinux - if the author of the pkg updates his/her automake to 1.8, then we can remove aclocal from build()

make sure that you have a look at the Makefile and if possible use DESTDIR variable - if not, search for prefix and if the Makefile also has no prefix, then use cp or install commands to copy binaries

the normal procedure now (maybe it will change, as a lot of people discuss about it) is that the TU's take the PKGBUILD and make the pkg go to staging repository, where the package maintainers can take it to the official repositories

http://tur.archlinux.org/

you can use the mailing list to contact the TU's:
http://archlinux.org/mailman/listinfo/tur-users


The impossible missions are the only ones which succeed.

Offline

#5 2004-05-16 09:28:37

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: [network: ftp] kasablanca

# $Id: PKGBUILD,v 1.1 2004/05/04 10:10:52 abaddon Exp $ 
# Maintainer: Abaddon <kukububu@go2.pl> 
pkgname=kasablanca 
pkgver=0.3.1 
pkgrel=2 
pkgdesc="FTP client with FXP support, based on qt library" 
url="http://kasablanca.berlios.de/" 
depends=('kdelibs' 'qt' 'openssl') 
source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz) 
md5sums=('7c7022cc9bb7c49da4fed2d8952c90cf') 

build() { 
        cd $startdir/src/$pkgname-$pkgver 
        aclocal 
        ./configure --prefix=/opt/kde 
        make || return 1 
        make DESTDIR=$startdir/pkg install 
}

It allows your suggestions. Sorry for that, I didn't read docs before making this build wink.

I think it's good now. If you have another suggestions, please write it here :]


Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#6 2004-05-20 15:11:19

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: [network: ftp] kasablanca

Hmmmmmmmmmmmmm

I tryed to recompile kasablanca from pkgbuild that includes your suggestions. But it crashed... It was caused by aclocal.

Without it, everything works fine, so good pkgbuild is:

# $Id: PKGBUILD,v 1.2 2004/05/04 10:10:52 abaddon Exp $ 
# Maintainer: Abaddon <kukububu@go2.pl> 
pkgname=kasablanca 
pkgver=0.3.1 
pkgrel=2
pkgdesc="FTP client with FXP support, based on qt library" 
url="http://kasablanca.berlios.de/" 
depends=('kdelibs' 'qt' 'openssl') 
source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz) 
md5sums=('7c7022cc9bb7c49da4fed2d8952c90cf') 

build() { 
        cd $startdir/src/$pkgname-$pkgver 
        ./configure --prefix=/opt/kde 
        make || return 1 
        make DESTDIR=$startdir/pkg install 
}

Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#7 2004-06-18 12:45:06

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: [network: ftp] kasablanca

New version:

# $Id: PKGBUILD,v 1.0 2004/06/14 10:10:52 abaddon Exp $ 
# Maintainer: Abaddon <kukububu@go2.pl> 
pkgname=kasablanca 
pkgver=0.4pre2
pkgrel=1
pkgdesc="FTP client with FXP support, based on qt library" 
url="http://kasablanca.berlios.de/" 
depends=('kdelibs' 'qt' 'openssl') 
source=(http://download.berlios.de/$pkgname/$pkgname-0.4-pre2.tar.gz) 
md5sums=('b7a423e34943a5c665cab6902669b26d') 

build() { 
        cd $startdir/src/$pkgname-0.4-pre2
        ./configure --prefix=/opt/kde 
        make || return 1 
        make DESTDIR=$startdir/pkg install 
}

Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#8 2004-07-06 11:58:31

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: [network: ftp] kasablanca

New version (0.4-pre3). It has support for docking! Yeah.

# $Id: PKGBUILD,v 1.0 2004/07/16 12:47:12 abaddon Exp $ 
# Maintainer: Abaddon <kukububu@go2.pl> 
pkgname=kasablanca 
pkgver=0.4pre3
pkgrel=1
pkgdesc="FTP client with FXP support, based on qt library" 
url="http://kasablanca.berlios.de/" 
depends=('kdelibs' 'qt' 'openssl') 
source=(http://download.berlios.de/$pkgname/$pkgname-0.4-pre3.tar.gz) 
md5sums=('44441091d2e1c8d13c9dc87f26bb8ad7') 

build() { 
        cd $startdir/src/$pkgname-0.4-pre3
        ./configure --prefix=/opt/kde 
        make || return 1 
        make DESTDIR=$startdir/pkg install 
}

Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#9 2004-07-13 22:58:17

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: [network: ftp] kasablanca

New version (0.4) has been released.

# $Id: PKGBUILD,v 1.0 2004/07/16 12:47:12 abaddon Exp $ 
# Maintainer: Abaddon <kukububu@go2.pl> 
pkgname=kasablanca 
pkgver=0.4
pkgrel=1
pkgdesc="FTP client with FXP support, based on qt library" 
url="http://kasablanca.berlios.de/" 
depends=('kdelibs' 'qt' 'openssl') 
source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz) 
md5sums=('19586e353d7b52583e3c8f4543a76df7') 

build() { 
        cd $startdir/src/$pkgname-0.4
        ./configure --disable-debug --prefix=/opt/kde 
        make || return 1 
        make DESTDIR=$startdir/pkg install 
}

Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

Board footer

Powered by FluxBB