From 87a86bf4adf705e577256b467edf8d9f662fb2a1 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 14 Nov 2020 21:31:29 +0100 Subject: 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 --- pcr/simtrace2/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pcr/simtrace2/PKGBUILD (limited to 'pcr/simtrace2') 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 +# 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 +} -- cgit v1.2.3