From de5b6982e42f4a1e8b0537cfbc1b676e2a81f195 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 19 Mar 2012 00:01:09 +0000 Subject: Mon Mar 19 00:01:09 UTC 2012 --- community/trickle/PKGBUILD | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) (limited to 'community/trickle') diff --git a/community/trickle/PKGBUILD b/community/trickle/PKGBUILD index 5b9844932..da1146356 100644 --- a/community/trickle/PKGBUILD +++ b/community/trickle/PKGBUILD @@ -1,22 +1,30 @@ -# $Id: PKGBUILD 39246 2011-02-07 19:18:47Z tdziedzic $ +# $Id: PKGBUILD 68040 2012-03-17 11:08:43Z giovanni $ +# Maintainer: Jaroslav Lichtblau # Contributor Romain Bouchaud-Leduc pkgname=trickle pkgver=1.07 -pkgrel=5 -pkgdesc="Trickle - lightweight userspace bandwidth shaper" +pkgrel=6 +pkgdesc="Lightweight userspace bandwidth shaper" arch=('i686' 'x86_64') url="http://monkey.org/~marius/trickle" license=('BSD') -depends=("libevent") -source=("http://monkey.org/~marius/trickle/$pkgname-$pkgver.tar.gz") +depends=('libevent') +source=("http://monkey.org/~marius/trickle/${pkgname}-${pkgver}.tar.gz") md5sums=('860ebc4abbbd82957c20a28bd9390d7d') build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr --mandir=/usr/share/man - sed -i "s|.*in_addr_t.*||g" config.h - make || return 1 - make DESTDIR=$startdir/pkg install - install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --mandir=/usr/share/man + sed -i "s|.*in_addr_t.*||g" config.h + make -j1 +} + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -- cgit v1.2.3-54-g00ecf