diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-07-27 20:23:53 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-07-27 20:23:53 -0300 |
commit | 3a3f329b736af639fdd3c9621816bad627b96903 (patch) | |
tree | a0935f38e21136a3b7eeb93d0ec5c449c12de5b0 /community/pptpd | |
parent | 4d788e769855cbef2539d7cf7049dc2b4d9ac2e0 (diff) | |
parent | 2c30604c9ff749660a4b8507eec99e679cf19508 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-staging/kdenlive/PKGBUILD
community-staging/openscenegraph/PKGBUILD
community-staging/schroot/PKGBUILD
community-staging/wt/PKGBUILD
community-testing/cdfs/PKGBUILD
community-testing/pingus/PKGBUILD
community-testing/tagpy/PKGBUILD
community-testing/vhba-module/PKGBUILD
community-testing/vhba-module/vhba-module.install
community/surf/PKGBUILD
community/unpaper/PKGBUILD
core/flex/PKGBUILD
core/gcc/PKGBUILD
extra/boost/PKGBUILD
extra/cups/PKGBUILD
extra/gnutls/PKGBUILD
extra/gtk2/PKGBUILD
extra/llvm/PKGBUILD
extra/mesa/PKGBUILD
extra/qt/PKGBUILD
kde-unstable/akonadi/PKGBUILD
kde-unstable/kdeplasma-addons/PKGBUILD
libre/virtualbox-libre/PKGBUILD
multilib/gcc-multilib/PKGBUILD
multilib/lib32-libpng/PKGBUILD
testing/bind/PKGBUILD
testing/dnsutils/PKGBUILD
testing/iptables/PKGBUILD
testing/nouveau-dri/PKGBUILD
Diffstat (limited to 'community/pptpd')
-rw-r--r-- | community/pptpd/PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/community/pptpd/PKGBUILD b/community/pptpd/PKGBUILD index 4626fb0ea..b6d9382da 100644 --- a/community/pptpd/PKGBUILD +++ b/community/pptpd/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 72984 2012-06-26 13:10:02Z spupykin $ +# $Id: PKGBUILD 74350 2012-07-25 10:18:29Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=pptpd pkgver=1.3.4 -pkgrel=8 +pkgrel=10 pkgdesc="Poptop server" arch=(i686 x86_64 'mips64el') url="http://poptop.sourceforge.net/" @@ -18,10 +18,15 @@ md5sums=('b38df9c431041922c997c1148bedf591' 'cfa02c86d0413eb94fac15599986f54c') build() { + local _pppver=`pacman -Q ppp` + _pppver=${_pppver%-*} + _pppver=${_pppver#ppp } + cd $srcdir/$pkgname-$pkgver patch -p1 <$srcdir/unrecognized-opt.patch autoreconf -i ./configure --prefix=/usr --libdir=/usr/lib --exec-prefix=/usr --mandir=/usr/share/man + sed -i "s|#define VERSION.*|#define VERSION \"${_pppver}\"|" plugins/patchlevel.h make sed -i 's|install -o root|install|g' plugins/Makefile sed -i 's|?=|=|g' plugins/Makefile @@ -31,7 +36,7 @@ package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install mkdir -p $pkgdir/etc/ - echo -e "# Read man pptpd.conf, see samples in /usr/share/doc/pptpd\nand write your pptpd configuration here" >$pkgdir/etc/pptpd.conf + echo -e "# Read man pptpd.conf, see samples in /usr/share/doc/pptpd\n# and write your pptpd configuration here" >$pkgdir/etc/pptpd.conf install -Dm0755 ../pptpd $pkgdir/etc/rc.d/pptpd mkdir -p $pkgdir/usr/share/doc/pptpd cp -a samples $pkgdir/usr/share/doc/pptpd/ |