summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJonathon Fernyhough2018-05-24 15:01:52 +0100
committerJonathon Fernyhough2018-05-24 15:01:52 +0100
commitc604b2b477dcc730178dd17eacaabdc0002ce48d (patch)
treede429165c8fb43e2791d7a45ffd5f0ec0365e1db /PKGBUILD
parentd9f9123e733351606f6bb039b2984f1781951eae (diff)
downloadaur-c604b2b477dcc730178dd17eacaabdc0002ce48d.tar.gz
[trickle-1.07-11] Support more architectures
* PKGBUILD: - add ARM architectures to arch array - set explicit build triplet for configure
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index df389658c781..715333b5283e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=trickle
pkgver=1.07
pkgrel=11
pkgdesc="Lightweight userspace bandwidth shaper"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/mariusae/trickle"
license=('BSD')
depends=('libevent' 'libtirpc')
@@ -33,7 +33,8 @@ build() {
LDFLAGS+=" -ltirpc"
./configure --prefix=/usr \
- --mandir=/usr/share/man
+ --mandir=/usr/share/man \
+ --build=$(gcc -dumpmachine)
sed -i "s|.*in_addr_t.*||g" config.h
make -j1
}