[pacman-dev] makepkg and version comparators

fancris3 fancris3 at aol.com
Thu Mar 8 18:33:22 EST 2007


On Fri, 09 Mar 2007 01:26:32 +0200, Aaron Griffin  
<aaronmgriffin at gmail.com> wrote:


> Unless you have both pacman/libalpm and makepkg from CVS, this isn't
> going to work.  We have not released a new image yet.  Did you build
> this yourself from CVS?
>
Yes.I hope its correct.
# $Id$
# Maintainer: judd <jvinet at zeroflux.org>
pkgname=pacman
pkgver=3.0.0
pkgrel=1
pkgdesc="A library-based package manager with dependency support"
arch=('i686' 'x86_64')
url="http://www.archlinux.org/pacman/"
license=('GPL')
makedepends=(doxygen)
depends=(libarchive libdownload)
replaces=(pacman-rc)
backup=('etc/pacman.conf' 'etc/makepkg.conf' 'etc/abs/abs.conf' \
          etc/pacman.d/{current,release,extra,unstable,community})
install=pacman.install
source=(extrapkg.patch)
#source=(http://www.archlinux.org/~dan/pacman/$pkgname-$pkgver.tar.gz)
md5sums=()
sha1sums=()

_cvsmod="pacman-lib"
_cvsroot=:pserver:anonymous:anonymous at cvs.archlinux.org:/home/cvs-pacman

build() {
   cd $startdir/src/
   msg "Connecting to cvs.archlinux.org CVS server..."
   cvs -z3 -d $_cvsroot co $_cvsmod
   cd $_cvsmod
   cp -r ../$_cvsmod ../$_cvsmod-build
   cd ../$_cvsmod-build

   ./autogen.sh
   ./configure --prefix=/usr --sysconfdir=/etc
   make || return 1
   make DESTDIR=$startdir/pkg install || return 1

   rm -r $startdir/src/$_cvsmod-build

}

pacman -Qi pacman
Name           : pacman
Version        : 3.0.0-1
URL            : http://www.archlinux.org/pacman/
License        : GPL
Groups         : None
Provides       : None
Depends On     : libarchive  libdownload
Removes        : None
Required By    : srcpac
Conflicts With : None
Installed Size : 757 K
Packager       : Arch Linux (http://www.archlinux.org)
Architecture   : i686
Build Date     : Wed Mar  7 10:09:42 2007 UTC
Build Type     : Unknown
Install Date   : Wed Mar  7 10:11:08 2007 UTC




More information about the pacman-dev mailing list