[arch-commits] Commit in rp-pppoe/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sun Apr 18 07:47:31 UTC 2010
Date: Sunday, April 18, 2010 @ 03:47:31
Author: allan
Revision: 77813
upgpkg: rp-pppoe 3.10-5
make sure sh is available for install script, compress man pages (affected i686 ony)
Modified:
rp-pppoe/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-04-18 07:37:51 UTC (rev 77812)
+++ PKGBUILD 2010-04-18 07:47:31 UTC (rev 77813)
@@ -1,15 +1,16 @@
# $Id$
# Contributor: orelien <aurelien.foret at wanadoo.fr>
-# Maintainer: judd <jvinet at zeroflux.org>
+# Maintainer:
+
pkgname=rp-pppoe
pkgver=3.10
-pkgrel=4
+pkgrel=5
pkgdesc="Roaring Penguin's Point-to-Point Protocol over Ethernet client"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.roaringpenguin.com/pppoe/"
license=('GPL')
groups=('base')
-depends=('ppp>=2.4.5')
+depends=('ppp>=2.4.5' 'sh')
options=('!makeflags')
backup=(etc/ppp/pppoe.conf etc/ppp/firewall-standalone etc/ppp/firewall-masq etc/ppp/pppoe-server-options)
source=(http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz adsl)
@@ -18,10 +19,14 @@
'adace1ad441aa88dcb3db52fb7f9c97f')
build() {
- cd $startdir/src/$pkgname-$pkgver/src
+ cd $srcdir/$pkgname-$pkgver/src
./configure --prefix=/usr --enable-plugin=/ppp-2.4.4
make || return 1
- make DESTDIR=$startdir/pkg install
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver/src
+ make DESTDIR=$pkgdir install
#moving .so files to /usr/lib according to FS#13876
mkdir -p ${pkgdir}/usr/lib/rp-pppoe
@@ -31,5 +36,5 @@
#changing config to the new path
#sed -i 's/LINUX_PLUGIN=/LINUX_PLUGIN=\/usr\/lib\/rp-pppoe\/rp-pppoe.so/g' ${pkgdir}/etc/ppp/pppoe.conf
- install -m755 -D ../../adsl $startdir/pkg/etc/rc.d/adsl
+ install -Dm755 $srcdir/adsl $pkgdir/etc/rc.d/adsl
}
More information about the arch-commits
mailing list