summaryrefslogtreecommitdiff
path: root/core/pkg-config/PKGBUILD
blob: 3dbbf0b345fe741af2a5d7365b70dc84a9dfb581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 102636 2010-12-09 12:15:21Z stephane $
# Maintainer: Allan McRae <allan@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>

pkgname=pkg-config
pkgver=0.25
pkgrel=3
pkgdesc="A system for managing library compile/link flags"
arch=('i686' 'x86_64' 'mips64el')
url="http://pkgconfig.freedesktop.org/wiki/"
license=('GPL')
groups=('base-devel')
depends=('glibc' 'popt' 'glib2')
provides=("pkgconfig=${pkgver}")
conflicts=('pkgconfig')
replaces=('pkgconfig')
source=(http://pkgconfig.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
        autoconf-2.66.patch)
md5sums=('a3270bab3f4b69b7dc6dbdacbcae9745'
         '0fbfc1a5088f792bbeec7b5090e449f1')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i $srcdir/autoconf-2.66.patch
  # Use system popt and glib
  ./configure --prefix=/usr --with-installed-glib --with-installed-popt 

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR=${pkgdir} install
}