You are not logged in.
Pages: 1
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
sylpheed-claws is already in the unstable repo. Uncomment (or add) the unstable repo to your pacman.conf then:
pacman -Sy sylpheed-claws
Offline
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
./configure --prefix=/usr
Can be set to wherever you like eg. /opt/sylpheed-claws
Offline
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
Pages: 1