From 07cf6b14f3e2e3e143b8f6c6c5bb5d06d737d6e0 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 2 Nov 2017 12:55:50 +0000 Subject: testing/pptpclient: claim maintainership and cleanup --- testing/pptpclient/APKBUILD | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/testing/pptpclient/APKBUILD b/testing/pptpclient/APKBUILD index cfa0fe2d09..6be631a2a1 100644 --- a/testing/pptpclient/APKBUILD +++ b/testing/pptpclient/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Mikhail Ivko -# Maintainer: +# Maintainer: Natanael Copa pkgname=pptpclient pkgver=1.9.0 -pkgrel=2 +pkgrel=3 pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP." url="http://pptpclient.sourceforge.net/" arch="all" @@ -10,20 +10,18 @@ license="GPL" depends="ppp-daemon iproute2" makedepends="perl-dev" subpackages="$pkgname-doc" -options="!check" source="http://downloads.sourceforge.net/sourceforge/$pkgname/pptp-$pkgver.tar.gz pptpclient-musl.patch" -prepare() { +builddir="$srcdir"/pptp-$pkgver +build() { cd "$srcdir"/pptp-$pkgver - patch -p1 -i "$srcdir"/pptpclient-musl.patch || return 1 - sed -i '/CFLAGS/d' Makefile - sed -i 's|\/bin\/ip|\/sbin\/ip|g' Makefile + make IP=/sbin/ip } -build() { - cd "$srcdir"/pptp-$pkgver - make || return 1 +check() { + cd "$builddir" + ./pptp --version } package() { -- cgit v1.2.3