File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ --- PKGBUILD
2
+ +++ PKGBUILD
3
+ @@ -11,21 +11,27 @@ depends=('qt5-base' 'bluez-libs' 'jansson')
4
+ makedepends=('arm-none-eabi-gcc' 'arm-none-eabi-newlib' 'lua52' 'python')
5
+ optdepends=('lua52: lua scripts'
6
+ 'python: some scripts')
7
+ - source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
8
+ - sha512sums=('b4edce069816a9c81b11292702eb965adf9e03b666ba909a6870af135be42f8c566ee232467faa27158c773b69c21b866795d7b6889123349fdd90bb8542cff5')
9
+ + source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
10
+ + fix-optimize-native.patch::https://github.com/RfidResearchGroup/proxmark3/pull/2577/commits/79540b1d336b229ed98af9f049e6a520768f384c.patch)
11
+ + sha512sums=('b4edce069816a9c81b11292702eb965adf9e03b666ba909a6870af135be42f8c566ee232467faa27158c773b69c21b866795d7b6889123349fdd90bb8542cff5'
12
+ + 'dd48ae1e0cec480ab39422fe037e3175bbc65fb34cad88eb11cfa712703356761fa290a86cb6abc81c06459724f4f5c36e2c7d967b9638e5ec65eb63667978ab')
13
+
14
+ prepare() {
15
+ + pushd "$pkgname-$pkgver"
16
+ + patch -Np1 -i "$srcdir/fix-optimize-native.patch"
17
+ + popd
18
+ +
19
+ cp -r $pkgname-$pkgver{,-rdv4}
20
+ }
21
+
22
+ build() {
23
+ cd "$srcdir"/$pkgname-$pkgver
24
+
25
+ - make PLATFORM=PM3GENERIC SKIPQT=0 all
26
+ + make PLATFORM=PM3GENERIC SKIPQT=0 DONT_BUILD_NATIVE=y all
27
+
28
+ cd "$srcdir"/$pkgname-$pkgver-rdv4
29
+
30
+ - make PLATFORM=PM3RDV4 FWTAG=rdv4 common bootrom recovery fullimage
31
+ + make PLATFORM=PM3RDV4 FWTAG=rdv4 DONT_BUILD_NATIVE=y common bootrom recovery fullimage
32
+ }
33
+
34
+ package() {
You can’t perform that action at this time.
0 commit comments