python-pefile 2023.2.7-1
This commit is contained in:
commit
c071d57a1a
29
PKGBUILD
Normal file
29
PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||||
|
# then please put 'unknown'.
|
||||||
|
|
||||||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
|
pkgname=python-pefile
|
||||||
|
pkgver=2023.2.7
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Python PE parsing module"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/erocarrera/pefile"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('python')
|
||||||
|
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
|
||||||
|
source=(https://github.com/erocarrera/pefile/releases/download/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
|
||||||
|
sha256sums=(11cd7ed7082d5256e9741e8b98c654f061723fafb5b2719c01a0b4cc6f89e09d)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
|
python3 -m build --wheel --no-isolation
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
|
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user