You are not logged in.
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
Pkgbuild has been updated. Dependency on kdelibs was added.
Gnome - The weakest link!
Linux, *not* GNU/Linux!
Offline
Will it get into one of repos?
Gnome - The weakest link!
Linux, *not* GNU/Linux!
Offline
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
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
# $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 .
I think it's good now. If you have another suggestions, please write it here :]
Gnome - The weakest link!
Linux, *not* GNU/Linux!
Offline
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
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
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
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