summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f5ca1a90d75f481a88b0ef1d3b048e0028c6fd6d (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
# Maintainer: Alex Xela <h825@pm.me>

pkgname=python-poetry-multiproject-plugin
_pkgname=poetry_multiproject_plugin
pkgver=1.3.2
pkgrel=1
pkgdesc='A Poetry plugin that makes it possible to use relative package includes.'
arch=(any)
url="https://github.com/DavidVujic/poetry-multiproject-plugin"
license=(MIT)
depends=(python python-cleo python-poetry)
makedepends=(python-build python-installer)
source=(https://codeload.github.com/DavidVujic/poetry-multiproject-plugin/tar.gz/refs/tags/v${pkgver})
sha256sums=('5871be50809a1fb915f04c2918b73ac3710b647372f7a5434fca2de6fb2b68de')

build() {
    cd "poetry-multiproject-plugin-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "poetry-multiproject-plugin-$pkgver"
    python -m installer -d "$pkgdir" dist/*.whl
    install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/poetry-multiproject-plugin/"
}