summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD26
2 files changed, 26 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dbd3203faac3..1c97403ddee7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Feb 29 20:28:02 UTC 2016
+# Tue Mar 22 16:29:55 UTC 2016
pkgbase = cubicsdr-git
pkgdesc = Cross-Platform Software-Defined Radio Application
pkgver = r969.786f5ba
diff --git a/PKGBUILD b/PKGBUILD
index 2941d3571078..a9fbb1b9e075 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"