2 # Contributor: Daniel Isenmann <daniel @ archlinux.org>
3 # Contributor: Mark Nikkel <mnikkel@gmail.com>
8 pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
10 url="http://pptpclient.sourceforge.net/"
12 depends=('ppp' 'iproute2' 'perl')
13 backup=('etc/ppp/options.pptp')
14 source=("https://downloads.sourceforge.net/sourceforge/pptpclient/pptp-$pkgver.tar.gz")
15 md5sums=('8d25341352fdae5ad5b36b9f18254908')
20 # use our CFLAGS and LDFLAGS
21 sed -i -e "/CFLAGS =/ c\CFLAGS = ${CFLAGS}" Makefile
22 sed -i -e "/LDFLAGS =/ c\LDFLAGS = ${LDFLAGS}" Makefile
25 sed -i 's#/bin/ip#/usr/bin/ip#' routing.c
27 # put binaries in /usr/bin
28 sed -i "/BINDIR/s#/sbin#/bin#" Makefile
38 make DESTDIR="$pkgdir" install