[arch-commits] Commit in pptpclient/repos (4 files)

Allan McRae allan at nymeria.archlinux.org
Fri May 31 00:39:02 EDT 2013


    Date: Friday, May 31, 2013 @ 06:39:02
  Author: allan
Revision: 186758

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  pptpclient/repos/staging-i686/
  pptpclient/repos/staging-i686/PKGBUILD
    (from rev 186757, pptpclient/trunk/PKGBUILD)
  pptpclient/repos/staging-x86_64/
  pptpclient/repos/staging-x86_64/PKGBUILD
    (from rev 186757, pptpclient/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   39 +++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

Copied: pptpclient/repos/staging-i686/PKGBUILD (from rev 186757, pptpclient/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-05-31 04:39:02 UTC (rev 186758)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel @ archlinux.org>
+# Contributor: Mark Nikkel <mnikkel at gmail.com>
+
+pkgname=pptpclient
+pkgver=1.7.2
+pkgrel=5
+pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
+arch=('i686' 'x86_64')
+url="http://pptpclient.sourceforge.net/"
+license=('GPL')
+depends=('ppp' 'iproute2')
+backup=('etc/ppp/options.pptp')
+source=("http://downloads.sourceforge.net/sourceforge/pptpclient/pptp-$pkgver.tar.gz")
+md5sums=('4c3d19286a37459a632c7128c92a9857')
+
+prepare() {
+  cd $srcdir/pptp-$pkgver
+
+  # use our CFLAGS and LDFLAGS
+  sed -i -e "/CFLAGS  =/ c\CFLAGS = ${CFLAGS}" Makefile
+  sed -i -e "/LDFLAGS =/ c\LDFLAGS = ${LDFLAGS}" Makefile
+
+  # adjust ip path
+  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 
+}
+
+package() {
+  cd $srcdir/pptp-$pkgver
+  make DESTDIR=$pkgdir install
+}

Copied: pptpclient/repos/staging-x86_64/PKGBUILD (from rev 186757, pptpclient/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-05-31 04:39:02 UTC (rev 186758)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel @ archlinux.org>
+# Contributor: Mark Nikkel <mnikkel at gmail.com>
+
+pkgname=pptpclient
+pkgver=1.7.2
+pkgrel=5
+pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
+arch=('i686' 'x86_64')
+url="http://pptpclient.sourceforge.net/"
+license=('GPL')
+depends=('ppp' 'iproute2')
+backup=('etc/ppp/options.pptp')
+source=("http://downloads.sourceforge.net/sourceforge/pptpclient/pptp-$pkgver.tar.gz")
+md5sums=('4c3d19286a37459a632c7128c92a9857')
+
+prepare() {
+  cd $srcdir/pptp-$pkgver
+
+  # use our CFLAGS and LDFLAGS
+  sed -i -e "/CFLAGS  =/ c\CFLAGS = ${CFLAGS}" Makefile
+  sed -i -e "/LDFLAGS =/ c\LDFLAGS = ${LDFLAGS}" Makefile
+
+  # adjust ip path
+  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 
+}
+
+package() {
+  cd $srcdir/pptp-$pkgver
+  make DESTDIR=$pkgdir install
+}



More information about the arch-commits mailing list