42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
_pkgname=truststore
|
|
pkgname=python-$_pkgname
|
|
pkgver=0.8.0
|
|
pkgrel=03
|
|
pkgdesc='Python library for native system certificate stores (i.e. "trust stores")'
|
|
url='https://github.com/sethmlarson/truststore'
|
|
makedepends=(python-build python-installer python-wheel python-flit)
|
|
depends=('python')
|
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
|
|
|
|
prepare() {
|
|
cd "$_pkgname-$pkgver"
|
|
}
|
|
|
|
build() {
|
|
cd "$_pkgname-$pkgver"
|
|
python -m build --wheel --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd "$_pkgname-$pkgver"
|
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('custom:MIT')
|
|
|
|
sha256sums=(c862292f8d136bfcf2a7827a1fd1c1b27944a982741205fb466005673b570df8) # python-truststore-0.8.0.tar.gz
|
|
|
|
## b56ded44496dd8d3d8d7d9debc7cd489ae210ec455cad838aaafcf87663d52f7 python-truststore-0.8.0-03-x86_64.pkg.tar.lz
|
|
|