summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c3ee6aabf88aa1013ca19e45fc2acccbf6500d6 (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
# Maintainer:  Misaka13514 <Misaka13514 at gmail dot com>
pkgname=frida-dexdump
pkgver=2.0.1
pkgrel=3
pkgdesc="A frida tool to dump dex in memory"
arch=('any')
url="https://github.com/hluwa/frida-dexdump"
license=('GPL-3.0-only')
depends=(
    'python'
    'python-click'
    'python-frida-tools'
    'python-wallbreaker'
)
makedepends=(
    'python-build'
    'python-installer'
    'python-wheel'
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('a7e643bee7f380e43b1dd460284d251d3581b7c18ca73219147e2ed0dc15f5c3')

build() {
    cd "$pkgname-$pkgver"
    python -m build --wheel --no-isolation  
}

package() {
    cd "$pkgname-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
    install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" *.md
}