blob: 50b3af31cd79841076cd8d6c3f987cdacb2e1758 (
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
36
37
38
39
40
41
|
# Maintainer: Jarno Malmari <jmalmari@ftml.net>
pkgname=orbuculum-git
pkgver=2.2.0.r0.g21285f8
pkgrel=1
pkgdesc='Orbuculum is a set of tools for decoding and presenting output flows from the debug pins of a CORTEX-M CPU.'
arch=('x86_64')
url="https://github.com/orbcode/orbuculum"
license=('BSD-3-Clause')
groups=()
depends=('ncurses' 'sdl2' 'zeromq' 'capstone' 'libdwarf')
makedepends=('git' 'meson')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=("git+${url}")
noextract=()
sha256sums=('SKIP')
prepare () {
sed -i "s/subproject('libdwarf').*/dependency('libdwarf')/" "$srcdir/orbuculum/meson.build"
}
pkgver() {
cd "$srcdir/orbuculum"
git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^V\(.*\)/\1/'
}
build() {
cd "$srcdir"
meson setup --prefix=/usr build orbuculum
ninja -C build
}
package() {
cd "$srcdir"
meson install -C ./build --destdir ${pkgdir} --strip
}
|