updated on Mon Jan 9 08:00:21 UTC 2012
[aur-mirror.git] / cntlm / PKGBUILD
blob94b1c71a630cc7d2819fe8fdfabaeb7c4a8805e6
1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
2 # Contributor: Simon Tan <simon1tan@yahoo.com>
3 # Contributor: Angel 'angvp' Velásquez <angvp[at]archlinux.com.ve>
5 pkgname=cntlm
6 pkgver=0.35.1
7 pkgrel=3
8 license=('GPLv2')
9 pkgdesc="An NTLM, NTLM2SR, and NTLMv2 authenticating HTTP proxy"
10 arch=('i686' 'x86_64')
11 url="http://cntlm.sourceforge.net"
12 source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname%20$pkgver/$pkgname-$pkgver.tar.gz" 'cntlm')
13 backup=("etc/cntlm.conf")
14 md5sums=('2547c73a1159062fdaa1877cc03a22f6'
15          '8aa5c57c208371f86f465c9c8e0bce70')
17 build() {
18         cd "$srcdir/$pkgname-$pkgver"
19         ./configure
20         make
23 package() {
24         cd "$srcdir/$pkgname-$pkgver"
25         make SYSCONFDIR="$pkgdir/etc" BINDIR="$pkgdir/usr/bin" MANDIR="$pkgdir/usr" install
26         install -Dm 755 "$srcdir/cntlm" "$pkgdir/etc/rc.d/cntlm"