summaryrefslogtreecommitdiff
path: root/core/pptpclient
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-04 00:27:56 -0700
committerroot <root@rshg054.dnsready.net>2013-06-04 00:27:56 -0700
commitcc57cb201ddb179d2bb481c13dd4f286ae643b12 (patch)
tree7932470d6b8a193c032f1012a7996cc78ea52201 /core/pptpclient
parent1f86bf1b08cb980cea57c1d4d3187e2251f5a63b (diff)
Tue Jun 4 00:27:56 PDT 2013
Diffstat (limited to 'core/pptpclient')
-rw-r--r--core/pptpclient/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/core/pptpclient/PKGBUILD b/core/pptpclient/PKGBUILD
index b27c7d5bc..d4e2d3e0e 100644
--- a/core/pptpclient/PKGBUILD
+++ b/core/pptpclient/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 142906 2011-11-18 07:42:07Z pierre $
+# $Id: PKGBUILD 187040 2013-06-03 11:15:32Z allan $
# Maintainer: Daniel Isenmann <daniel @ archlinux.org>
# Contributor: Mark Nikkel <mnikkel@gmail.com>
pkgname=pptpclient
pkgver=1.7.2
-pkgrel=4
+pkgrel=5
pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
arch=('i686' 'x86_64')
url="http://pptpclient.sourceforge.net/"
@@ -14,7 +14,7 @@ backup=('etc/ppp/options.pptp')
source=("http://downloads.sourceforge.net/sourceforge/pptpclient/pptp-$pkgver.tar.gz")
md5sums=('4c3d19286a37459a632c7128c92a9857')
-build() {
+prepare() {
cd $srcdir/pptp-$pkgver
# use our CFLAGS and LDFLAGS
@@ -22,8 +22,14 @@ build() {
sed -i -e "/LDFLAGS =/ c\LDFLAGS = ${LDFLAGS}" Makefile
# adjust ip path
- sed -i 's#/bin/ip#/usr/sbin/ip#' routing.c
+ sed -i 's#/bin/ip#/usr/bin/ip#' routing.c
+
+ # put binaries in /usr/bin
+ sed -i "/BINDIR/s#/sbin#/bin#" Makefile
+}
+build() {
+ cd $srcdir/pptp-$pkgver
make
}