blob: cf412848168ea614a64f461a001fdfc5904ad9cc (
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
|
# Maintainer: littzhch <2371050115@qq.com>
_name=staticx
pkgname=$_name
pkgver=0.14.1
pkgrel=2
epoch=
pkgdesc="Build static self-extracting app from dynamic executable"
arch=('x86_64')
url="https://github.com/JonathonReinhart/staticx"
license=('GPL' 'custom')
groups=()
depends=(binutils patchelf python)
makedepends=(python-build python-installer python-wheel musl)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
noextract=()
sha256sums=('9e5087e7fce7a78e9fc925754a644c4f554060cc63a354ef40f841d4fc92afd3')
validpgpkeys=()
build() {
export BOOTLOADER_CC=/usr/bin/musl-gcc
cd $_name-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|