[arch-commits] Commit in pptpclient/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Oct 17 10:18:47 UTC 2017
Date: Tuesday, October 17, 2017 @ 10:18:47
Author: arojas
Revision: 308082
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
pptpclient/repos/testing-i686/
pptpclient/repos/testing-i686/PKGBUILD
(from rev 308081, pptpclient/trunk/PKGBUILD)
pptpclient/repos/testing-x86_64/
pptpclient/repos/testing-x86_64/PKGBUILD
(from rev 308081, pptpclient/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
Copied: pptpclient/repos/testing-i686/PKGBUILD (from rev 308081, pptpclient/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-10-17 10:18:47 UTC (rev 308082)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer:
+# Contributor: Daniel Isenmann <daniel @ archlinux.org>
+# Contributor: Mark Nikkel <mnikkel at gmail.com>
+
+pkgname=pptpclient
+pkgver=1.9.0
+pkgrel=1
+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=('b2117b377f65294a9786f80f0235d308')
+
+prepare() {
+ cd 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 pptp-$pkgver
+ make
+}
+
+package() {
+ cd pptp-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: pptpclient/repos/testing-x86_64/PKGBUILD (from rev 308081, pptpclient/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-10-17 10:18:47 UTC (rev 308082)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer:
+# Contributor: Daniel Isenmann <daniel @ archlinux.org>
+# Contributor: Mark Nikkel <mnikkel at gmail.com>
+
+pkgname=pptpclient
+pkgver=1.9.0
+pkgrel=1
+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=('b2117b377f65294a9786f80f0235d308')
+
+prepare() {
+ cd 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 pptp-$pkgver
+ make
+}
+
+package() {
+ cd pptp-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list