30 lines
868 B
Bash
30 lines
868 B
Bash
# 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-wheel
|
|
pkgver=0.43.0
|
|
pkgrel=1
|
|
pkgdesc="A built-package format for Python"
|
|
arch=('x86_64')
|
|
url="https://pypi.org/project/wheel/"
|
|
license=('MIT')
|
|
depends=('python')
|
|
makedepends=('python-flit-core' 'python-installer')
|
|
source=(https://pypi.org/packages/source/w/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz)
|
|
sha256sums=(465ef92c69fa5c5da2d1cf8ac40559a8c940886afcef87dcf14b9470862f1d85)
|
|
|
|
build() {
|
|
cd ${pkgname#*-}-${pkgver}
|
|
|
|
python3 -m flit_core.wheel
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname#*-}-${pkgver}
|
|
|
|
python3 -m installer -d ${pkgdir} dist/*.whl
|
|
}
|