blob: 1c4d05a1cf7802ff210b6fe311a29a092a714508 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=usbfluxd-git
pkgver=1.0.r27.g608cb24
pkgrel=1
epoch=
pkgdesc="Redirects the standard usbmuxd socket to allow connections to local and remote usbmuxd instances so remote devices appear connected locally."
arch=('x86_64' 'aarch64' 'riscv64')
url="https://github.com/corellium/usbfluxd"
license=(GPL-2.0-or-later GPL-3.0-or-later)
groups=()
depends=(glibc
libplist
avahi)
makedepends=(git
autoconf
automake
gcc)
checkdepends=()
optdepends=('usbmuxd: USB Multiplex Daemon'
'socat: Multipurpose relay')
provides=(${pkgname%-git})
conflicts=()
replaces=(${pkgname%-git})
backup=()
options=()
install=
changelog=
source=("${pkgname}::git+${url}.git"
"0001-Compile-using-system-libraries.patch")
noextract=()
sha256sums=('SKIP'
'846469be65f01de4647a2f2bf64a7bbabdd47837a50b5d59b58d78a702cc88dc')
#validpgpkeys=()
pkgver() {
cd "${srcdir}/${pkgname}"
( set -o pipefail
git describe --long --tag --abbrev=7 2>/dev/null | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
)
}
prepare() {
git -C "${srcdir}/${pkgname}" clean -dfx
cd "${srcdir}/${pkgname}"
sed -i 's|sbin|bin|g' usbfluxd/Makefile.am
patch -p1 < ../0001-Compile-using-system-libraries.patch
autoreconf -i
}
build() {
cd "${srcdir}/${pkgname}"
./autogen.sh
./configure --prefix=/usr \
--enable-shared=yes \
--enable-static=no
make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR=${pkgdir} install
}
|