summaryrefslogtreecommitdiff
path: root/community/trickle
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-19 00:01:09 +0000
committerroot <root@rshg054.dnsready.net>2012-03-19 00:01:09 +0000
commitde5b6982e42f4a1e8b0537cfbc1b676e2a81f195 (patch)
tree54a8758af5dc5a08f95d12f7fe04cec1d51024a6 /community/trickle
parentd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (diff)
Mon Mar 19 00:01:09 UTC 2012
Diffstat (limited to 'community/trickle')
-rw-r--r--community/trickle/PKGBUILD30
1 files changed, 19 insertions, 11 deletions
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 <dragonlord@aur.archlinux.org>
# Contributor Romain Bouchaud-Leduc <r0m1.bl@camaris.org>
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"
}