updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cntlm / PKGBUILD
blob9d5b544b03460722957cd25651f5917e26ec992c
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.92.1
7 pkgrel=1
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=('16be8a228d7dba0ab06958a47f963617'
15          '8aa5c57c208371f86f465c9c8e0bce70')
17 build() {
18         cd "$srcdir/$pkgname-$pkgver"
19         ./configure
20         make
23 package() {
24         cd "$srcdir/$pkgname-$pkgver"
25         make \
26                 SYSCONFDIR="$pkgdir/etc" \
27                 BINDIR="$pkgdir/usr/bin" \
28                 MANDIR="$pkgdir/usr" \
29                 install
30         install -Dm 755 "$srcdir/cntlm" "$pkgdir/etc/rc.d/cntlm"