diff options
author | gilbus | 2023-07-15 21:18:28 +0000 |
---|---|---|
committer | gilbus | 2023-07-15 21:18:28 +0000 |
commit | 9d40169836c7f50de0ef6268708b3546714d09f6 (patch) | |
tree | 443788d26cf112163e4c2d8b69e57ef09bcced8c /PKGBUILD | |
download | aur-9d40169836c7f50de0ef6268708b3546714d09f6.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ad6878c2e225 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: gilbus <aur (AT) tinkershell dot eu> +pkgname=potoo +_name=potoo +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Markdown presentation tool build on top of textual" +arch=('any') +url="https://gitlab.com/gilbus/potoo" +license=('GPL3') +depends=('python-textual') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel' 'python-pdm-backend') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('4db34694f41438d5f60671ec7433d4d960ffa0f0a325505c7cd24a1ee30bd827') + +prepare() { + cd "$_name-$pkgver" +} + +build() { + cd "$_name-$pkgver" + python -m build --wheel --no-isolation +} + +package() { + cd "$_name-$pkgver" + python -m installer --destdir="$pkgdir" dist/*.whl +} |