summaryrefslogtreecommitdiff
path: root/pcr/simtrace
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-01-27 14:35:51 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-01-27 14:35:51 +0100
commit3d5fdcbef70b71adbd0843438889a9463e18440b (patch)
treeccb7d2c7f29e989691404d6a50ca689ec431290c /pcr/simtrace
parent6fa8c1c3c951d6427e32d1e6f33cfeb0cbdefade (diff)
downloadabslibre-3d5fdcbef70b71adbd0843438889a9463e18440b.tar.gz
abslibre-3d5fdcbef70b71adbd0843438889a9463e18440b.tar.bz2
abslibre-3d5fdcbef70b71adbd0843438889a9463e18440b.zip
pcr: simtrace: update to 1.5 by syncing with AUR
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/simtrace')
-rw-r--r--pcr/simtrace/PKGBUILD30
1 files changed, 14 insertions, 16 deletions
diff --git a/pcr/simtrace/PKGBUILD b/pcr/simtrace/PKGBUILD
index c6ff1c773..58c9deadc 100644
--- a/pcr/simtrace/PKGBUILD
+++ b/pcr/simtrace/PKGBUILD
@@ -1,29 +1,27 @@
-# Contributor: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-pkgname=simtrace-git
-_pkgname=simtrace
-pkgver=0.1.r89.g6fde8e1
-_commit=6fde8e1c26f12069e67103ba5f69a068d78de063
+# 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=simtrace
+pkgver=1.5
pkgrel=2
pkgdesc="Traces the communication between phones and SIM cards with first generation simtrace hardware."
arch=('armv7h' 'i686' 'x86_64')
-url="http://bb.osmocom.org/trac/wiki/SIMtrace"
+url="https://osmocom.org/projects/simtrace/wiki/SIMtrace"
license=('GPL2') # GPLv2-only according to the source files headers
-depends=('libosmocore' 'libusb' 'talloc')
-makedepends=('make' 'gcc' 'git' 'pkg-config')
-source=("git://git.osmocom.org/simtrace.git#commit=$_commit")
+replaces=('simtrace-git')
+depends=('libosmocore' 'libusb' 'lksctp-tools' 'talloc')
+makedepends=('git')
+source=("git://git.osmocom.org/simtrace.git#tag=v$pkgver")
sha512sums=('SKIP')
-pkgver() {
- cd "$srcdir/$_pkgname"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
build() {
- cd "$srcdir/$_pkgname/host"
+ cd "$srcdir/$pkgname/host"
make
}
package() {
- cd "$srcdir/$_pkgname/host"
+ cd "$srcdir/$pkgname/host"
make DESTDIR=$pkgdir install
}