PKGBUILDs/community/pppusage/PKGBUILD
2009-10-09 21:15:33 -05:00

27 lines
865 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=pppusage
pkgver=0.2.5
pkgrel=2
pkgdesc="Utility to monitor pppd connections"
arch=(i686 x86_64)
url="http://www.jhweiss.de/software/pppusage.html"
license=("GPL")
depends=(perl ppp dcron)
makedepends=()
backup=(etc/pppusagerc)
source=(ftp://ftp.jhweiss.de/pub/users/weiss/pppusage/pppusage-$pkgver.tar.gz
build-fix.patch)
md5sums=('7cf370d5b147ff084025234c43d01a45' '5f970f87088c767e3264b118f256b084')
build() {
cd $startdir/src/pppusage-$pkgver
patch -Np1 <../build-fix.patch
perl Makefile.PL
make || return 1
make DESTDIR=$startdir/pkg install
rm $startdir/pkg/usr/lib/perl5/?.?.?/${CARCH}-linux-thread-multi/perllocal.pod
find $startdir/pkg -name '.packlist' -exec rm {} \;
}