You are not logged in.
Pages: 1
I've noticed that the build section for some programs are different from others, I assume this means that without that proper distinctive build part, the file won't compile and a package won't be made. So my question is how do you tell if a program needs an irregular build section? For instance,
# $Id: PKGBUILD,v 1.80 2005/07/10 19:53:19 jgc Exp $
# Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=gaim
pkgver=1.4.0
pkgrel=1
pkgdesc="A GTK+-based messaging client"
url="http://gaim.sourceforge.net"
depends=('startup-notification' 'libao' 'gnutls>=1.2.0' 'tk' 'gtkspell')
source=(http://dl.sourceforge.net/sourceforge/gaim/gaim-$pkgver.tar.bz2)
md5sums=('d7717cb771e556012ecd5b7f3bdb02ba')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --enable-gtkspell --enable-gnutls=yes --enable-nss=no --disable-gevolution
make || return 1
make DESTDIR=$startdir/pkg install
rm $startdir/pkg/usr/lib/perl5/*/$CARCH-linux-thread-multi/perllocal.pod
mv $startdir/pkg/usr/lib/perl5/?.?.? $startdir/pkg/usr/lib/perl5/current
}
would be an irregular entry
I know there's some kind of regular build entry, but I can't find it.
reid
Offline
oi... ummm well... that's a very hard question to answer...
what you're trying to accomplish is:
a) building the app exactly as the developer intended
b) installing it in a special place (not /usr/local like most packages like)
the one you posted... well that has to do with perl being goofy
Offline
I know there's some kind of regular build entry, but I can't find it.
If you run
# abs
as root, you'll get a template PKGBUILD:
/var/abs/PKGBUILD.proto
It has what could be called a regular build entry.
Offline
You should also look at the makepkg tutorial on the wiki to see how it the PKGBUILD is used
Offline
Pages: 1