PKGBUILDs/extra/libproxy/PKGBUILD

33 lines
1,008 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 24494 2009-01-17 20:42:01Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libproxy
pkgver=0.2.3
pkgrel=1
pkgdesc="A library that provides automatic proxy configuration management"
arch=(i686 x86_64)
license=('LGPL')
depends=('glibc')
makedepends=('libxmu' 'gconf' 'networkmanager')
optdepends=('libxmu: KDE and GNOME plugins'
'gconf: GNOME plugin'
'networkmanager: NetworkManager plugin')
url="http://libproxy.googlecode.com"
source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz
nm-dbus.patch)
options=('!libtool')
md5sums=('86b635e1eb2d665cfbef4c6134fe6604'
'1bd7576d591889fd76cbf05d79cfe4af')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/nm-dbus.patch" || return 1
libtoolize --force || return 1
aclocal || return 1
autoconf || return 1
automake --add-missing || return 1
./configure --prefix=/usr --without-mozjs || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}