[arch-commits] Commit in pptpclient/trunk (PKGBUILD)
Allan McRae
allan at nymeria.archlinux.org
Fri May 31 04:38:03 UTC 2013
Date: Friday, May 31, 2013 @ 06:38:03
Author: allan
Revision: 186757
upgpkg: pptpclient 1.7.2-5
/usr move
Modified:
pptpclient/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-31 04:03:04 UTC (rev 186756)
+++ PKGBUILD 2013-05-31 04:38:03 UTC (rev 186757)
@@ -4,7 +4,7 @@
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 @@
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 @@
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
}
More information about the arch-commits
mailing list