diff options
author | valvetime | 2016-03-22 18:30:51 +0200 |
---|---|---|
committer | valvetime | 2016-03-22 18:30:51 +0200 |
commit | 62b16eab6482b9b3b57f5bc35d972c970c2e1aa1 (patch) | |
tree | adc3ece86e2fceea736b6080a559b34c7b7e6063 /PKGBUILD | |
parent | 7c748a05b5b5237053a81b2371690b2ca011c9f3 (diff) | |
download | aur-62b16eab6482b9b3b57f5bc35d972c970c2e1aa1.tar.gz |
now installs properly on 32 bit machines
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -59,7 +59,31 @@ cd "$srcdir/$pkgname/build" #TODO: detect arch to make this work on x86 automatically #for now change this manually on 32 bit systems -cd "${srcdir}/cubicsdr-git/build/x64" + + + +#DONE + + +#get architecture using uname +#arch="$(uname -m)" + + +#if arch is x86_64 set to 64 bits, otherwise set to 32 bits +#if [ "$arch" = "x86_64" ]; then +# bits="x64" +#else +# bits="x86" + + +#fi + + + + + + +cd "${srcdir}/cubicsdr-git/build/x*" install -Dm755 CubicSDR "${pkgdir}/usr/share/cubicsdr/cubicsdr" |