You are not logged in.

#1 2012-08-05 19:50:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

How to satisfy a versioned dependency with a git package

I maintain the libarchive-git package in the AUR.  I'm not quite sure how to go about getting around a versioned dependency that core/pacman has for core/libarchive.  Since my PKGBUILD will provide 'libarchive' without the version number, does this mean my only option is to use pacman-git with libarchive-git?

Thanks!

Here is the header of my PKGBUILD for reference:

pkgname=libarchive-git
pkgver=20120805
pkgrel=1
pkgdesc="Library that can create and read several streaming archive formats. Git version."
arch=('i686' 'x86_64')
url="http://libarchive.googlecode.com/"
license=('BSD')
depends=('zlib' 'bzip2' 'xz>=5.0.0' 'acl' 'openssl>=1.0.0' 'expat' 'lrzip')
makedepends=('git')
provides=('libarchive')
conflicts=('libarchive')

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2012-08-05 19:55:56

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: How to satisfy a versioned dependency with a git package

You have to hard code the provided version.

Good luck.

Offline

Board footer

Powered by FluxBB