You are not logged in.

#1 2006-03-02 03:55:14

scrawler
Member
Registered: 2005-06-07
Posts: 318

usr/local/bin...or where?

hey guys,

I just made a package of sylpheed claws 2.00.  Everything went ok, but the binary was placed in /usr/local/bin.  For reasons I don't quite understand, this is not an arch-like place to be.  So where should I put it, and how should I modify my pkgbuild to put it there?

btw, here's the fairly plain pkgbuild;

pkgname=sylpheed-claws
pkgver=2.0.0
pkgrel=1
pkgdesc="The stable extended version of sylpheed"
url="http://claws.sylpheed.org/"
licence=""
depends=(pkgconfig libetpan)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://internap.dl.sourceforge.net/sourceforge/sylpheed-claws/$pkgname-$pkgver.tar.gz)
md5sums=('7ddfc626484ae0954a78c5233931e21a')


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

also, what forum should I have posted this to?

thanks!

Offline

#2 2006-03-02 04:09:04

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: usr/local/bin...or where?

sylpheed-claws is already in the unstable repo. Uncomment (or add) the unstable repo to your pacman.conf then:
pacman -Sy sylpheed-claws

Offline

#3 2006-03-02 05:34:06

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: usr/local/bin...or where?

thank you, I'll do that.  In general, though, can you give me a hint about how to adjusts a package's installation location?

Offline

#4 2006-03-02 07:08:33

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: usr/local/bin...or where?

./configure --prefix=/usr

Can be set to wherever you like eg. /opt/sylpheed-claws smile

Offline

#5 2006-03-02 09:28:46

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

Re: usr/local/bin...or where?

Well ... it CAN be set to anywhere you like, but compliance with the Arch Packaging Standards would be preferable - or mandatory, if you want to submit your PKGBUILD to the AUR. A quick read of the AUR User Guidelines would also be useful in that case.

General hints -

./configure --help

will give you all the options for most apps. The ABS wiki pages provide the Arch-specific stuff.

Offline

Board footer

Powered by FluxBB