snip
> pkgver=CVS_`date +%Y%m%d`
snip

IMHO this is not the best way to do it; in my experience this doesn't work
very well with gensync at all.

My cvs PKGBUILDs use a similar method to the custom kernel PKGBUILD to
replace the pkgver=whatever with the correct version at the end of the
build - this ensures gensync compatibility.

All my PKGBUILDS can be seen here
http://dtw.jiwe.org/share/pkgs/dibble/PKGBUILDS and there are several cvs
and svn pkgs that use the same versioning method but have different
connection methods.

Hope that helps too

Phil



----- Original Message -----
> yes, for my e17 repo i use:
> $cat PKGBUILD
> pkgname=e_utils
> pkgver=CVS_`date +%Y%m%d`
> pkgrel=1
> pkgdesc=""
> url=""
> license=""
> depends=('ewl' 'evas' 'ecore' 'imlib2')
> makedepends=()
> conflicts=()
> replaces=()
> backup=()
> groups=('e17')
> install=
> #source=($pkgname-$pkgver.tar.gz)
> md5sums=()
> build() {
>   export LDFLAGS="-L/opt/e17/lib"
>   export CPPFLAGS="-I/opt/e17/include"
>   export PATH=$PATH:/opt/e17/bin
>   cd $startdir/src/
>   cvs -z3
-d:pserver:[EMAIL PROTECTED]:/cvsroot/enlightenment
> co
> e17/apps/$pkgname
>   cd e17/apps/$pkgname
>   ./autogen.sh --prefix=/opt/e17
>   make || return 1
>   make DESTDIR=$startdir/pkg install
> }
> Greetings Nick
> On Tuesday 07 June 2005 08:05, Fabian Braennstroem wrote:
>> Hi,
>> I want to use the current cvs version of emacs. Is it
>> possible to use 'abs' to download it and install it; I mean
>> can I tell PKGBUILD the cvs path.
>> Greetings!
>> Fabian
> _______________________________________________
> arch mailing list
> [email protected]
> http://www.archlinux.org/mailman/listinfo/arch





_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to