blob: 568dee4c1b3b52d876a0ad9017ce25ff78ca150c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# 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 CC0 1.0 License.
# Maintainer: Parabola Hackers <dev@lists.parabola.nu>
pkgname=simtrace-1
pkgver=1.5
pkgrel=1
pkgdesc="Traces the communication between phones and SIM cards with first generation SIMtrace hardware."
arch=('armv7h' 'i686' 'x86_64')
url="https://osmocom.org/projects/simtrace/wiki/SIMtrace"
license=('GPL2') # GPLv2-only according to the source files headers
replaces=('simtrace' 'simtrace-git')
conflicts=('simtrace' 'simtrace-git')
provides=('simtrace')
depends=('dblatex' 'libosmocore' 'libusb' 'lksctp-tools' 'talloc' 'texlive-bin')
makedepends=('git' 'libfaketime')
source=("git://git.osmocom.org/simtrace.git#tag=v$pkgver")
sha512sums=('SKIP')
build() {
cd "$srcdir/$pkgname/host"
make
faketime "2019-10-01" dblatex ../docs/usermanual.xml
}
package() {
cd "$srcdir/$pkgname/host"
make DESTDIR=$pkgdir install
install -m755 -d "${pkgdir}/usr/share/man/man1/"
install simtrace.1 -t "${pkgdir}/usr/share/man/man1/"
install -m755 -d "${pkgdir}/usr/share/doc/simtrace-1/"
install ../docs/usermanual.pdf -t "${pkgdir}/usr/share/man/man1/"
}
|