diff options
author | Antonio Cardace | 2015-10-02 12:52:12 +0200 |
---|---|---|
committer | Antonio Cardace | 2015-10-02 12:52:12 +0200 |
commit | 69db46873eb59922666fceb9899e0a94e2b6602c (patch) | |
tree | 98f21ccaeeed92510fe24d38abcb1af88fd8434d | |
parent | 5a926e88a75ccacb760f2743f910bdcd1019389b (diff) | |
download | aur-69db46873eb59922666fceb9899e0a94e2b6602c.tar.gz |
added arch detection
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -31,7 +31,11 @@ prepare() { build(){ cd "$srcdir/umview-${pkgver}" autoreconf -i &> /dev/null - ./configure --prefix="${pkgdir}/usr" --disable-static + if [ "$CARCH" == "x86_64" ]; then + ./configure --prefix="${pkgdir}/usr" --disable-static + else + ./configure --prefix="${pkgdir}/usr" --libdir="${pkgdir}/usr/lib32" --disable-static + fi make } |