summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-11-14 21:31:29 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-11-14 21:31:35 +0100
commit87a86bf4adf705e577256b467edf8d9f662fb2a1 (patch)
tree99e4c332a2d9cf61bcd313a40d5ee9bac5447152 /pcr
parenta15f2642006a122148c28e2f9d1032b07c8d082d (diff)
aur: Add simtrace2 from AUR
Note that simtrace and simtrace2 is not the same software: simtrace is for the first generation hardware while simtrace2 is for the second generation. While the PCB is mostly the same, the microcontroller, the (free) software inside that microcontroller and the host software are different. So while the microcontroller can be upgraded by people that know how to unsolder and resolder microcontrollers, it's still a good idea to support both devices in Parabola. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr')
-rw-r--r--pcr/simtrace2/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/simtrace2/PKGBUILD b/pcr/simtrace2/PKGBUILD
new file mode 100644
index 000000000..d51db16dc
--- /dev/null
+++ b/pcr/simtrace2/PKGBUILD
@@ -0,0 +1,28 @@
+# Copyright (C) 2020 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+pkgname=simtrace2
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="Traces the communication between phones and SIM cards with second generation simtrace hardware."
+arch=('armv7h' 'i686' 'x86_64')
+url="https://osmocom.org/projects/simtrace2"
+license=('GPL2') # GPLv2-only according to the source files headers
+depends=('libosmocore' 'libusb' 'lksctp-tools' 'talloc')
+makedepends=('make' 'gcc' 'git' 'pkg-config')
+source=("git://git.osmocom.org/simtrace2#tag=$pkgver")
+sha512sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname/host"
+ autoreconf -fi
+ ./configure
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname/host"
+ make DESTDIR=$pkgdir install
+}