summaryrefslogtreecommitdiff
path: root/pcr/simtrace
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-01-27 14:31:58 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-01-27 14:34:23 +0100
commit6fa8c1c3c951d6427e32d1e6f33cfeb0cbdefade (patch)
treec6444850f0a781b43910edcaae9e13453c790749 /pcr/simtrace
parentafa05f0f9fa4bdeb0e62cc3c91222ba3ea2b8e63 (diff)
downloadabslibre-6fa8c1c3c951d6427e32d1e6f33cfeb0cbdefade.tar.gz
abslibre-6fa8c1c3c951d6427e32d1e6f33cfeb0cbdefade.tar.bz2
abslibre-6fa8c1c3c951d6427e32d1e6f33cfeb0cbdefade.zip
Revert "aur: simtrace: update from AUR"
In the commit a15f2642006a122148c28e2f9d1032b07c8d082d (aur: simtrace: update from AUR) I accidentally ovewrote the simtrace PKGBUILD with the simtrace 2 one. Both are different software projects meant for two different sim tracer hardware generations. The simtrace software supports only one device named simtrace which uses an AT91SAM7S microcontroller. The simtrace 2 software supports the simtrace 2 hardware that use a SAM3S microcontroller, and it also supports other hardware like the sysmoQMOD that have the same SAM3S microcontroller. This reverts commit a15f2642006a122148c28e2f9d1032b07c8d082d.
Diffstat (limited to 'pcr/simtrace')
-rw-r--r--pcr/simtrace/PKGBUILD33
1 files changed, 17 insertions, 16 deletions
diff --git a/pcr/simtrace/PKGBUILD b/pcr/simtrace/PKGBUILD
index d51db16dc..c6ff1c773 100644
--- a/pcr/simtrace/PKGBUILD
+++ b/pcr/simtrace/PKGBUILD
@@ -1,28 +1,29 @@
-# 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."
+# Contributor: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+pkgname=simtrace-git
+_pkgname=simtrace
+pkgver=0.1.r89.g6fde8e1
+_commit=6fde8e1c26f12069e67103ba5f69a068d78de063
+pkgrel=2
+pkgdesc="Traces the communication between phones and SIM cards with first generation simtrace hardware."
arch=('armv7h' 'i686' 'x86_64')
-url="https://osmocom.org/projects/simtrace2"
+url="http://bb.osmocom.org/trac/wiki/SIMtrace"
license=('GPL2') # GPLv2-only according to the source files headers
-depends=('libosmocore' 'libusb' 'lksctp-tools' 'talloc')
+depends=('libosmocore' 'libusb' 'talloc')
makedepends=('make' 'gcc' 'git' 'pkg-config')
-source=("git://git.osmocom.org/simtrace2#tag=$pkgver")
+source=("git://git.osmocom.org/simtrace.git#commit=$_commit")
sha512sums=('SKIP')
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
build() {
- cd "$srcdir/$pkgname/host"
- autoreconf -fi
- ./configure
+ cd "$srcdir/$_pkgname/host"
make
}
package() {
- cd "$srcdir/$pkgname/host"
+ cd "$srcdir/$_pkgname/host"
make DESTDIR=$pkgdir install
}