summaryrefslogtreecommitdiffstats
path: root/abs/extra/pptpclient/PKGBUILD
blob: f94a7d2b55d5654576e6e7a2bda24504a305acac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Daniel Isenmann <daniel @ archlinux.org>
# Contributor: Mark Nikkel <mnikkel@gmail.com>
pkgname=pptpclient 
pkgver=1.7.2
pkgrel=2
pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
url="http://pptpclient.sourceforge.net/"
license=('GPL')
depends=(glibc ppp iproute2)
backup=(etc/ppp/{options.pptp})
source=(http://downloads.sourceforge.net/sourceforge/pptpclient/pptp-$pkgver.tar.gz)
md5sums=('4c3d19286a37459a632c7128c92a9857')
arch=('i686' 'x86_64')
 
build() { 
  cd $srcdir/pptp-$pkgver
  sed -i '/CFLAGS/d' Makefile
  sed -i 's|\/bin\/ip|\/usr\/sbin\/ip|g' routing.c 
  make || return 1
  make DESTDIR=$pkgdir install
}