From d7030897d2a1010cfd9de8091d294509bc939d14 Mon Sep 17 00:00:00 2001 From: Arnaud Gissinger Date: Sat, 16 Sep 2023 14:17:42 +0200 Subject: [PATCH] [FIX] PKGBUILD --- PKGBUILD | 7 ++++--- pyproject.toml | 5 ++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 2e25d20..0197895 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,13 +1,13 @@ # Maintainer: Arnaud Gissinger pkgname=rofi-notion -pkgver=2.0.2 +pkgver=2.0.3 pkgrel=1 pkgdesc="Quickly create new Notion pages for your databases with rofi as GUI." arch=('any') url="https://github.com/mathix420/rofi-notion" license=('MIT') depends=('python>=3.7') -makedepends=(python-build python-installer) +makedepends=(python-build python-installer python-setuptools) provides=('rofi-notion') source=("$pkgname-$pkgver.tar.gz::https://github.com/mathix420/rofi-notion/archive/refs/tags/v$pkgver.tar.gz") sha256sums=('SKIP') @@ -15,10 +15,11 @@ sha256sums=('SKIP') build() { cd "$pkgname-$pkgver" rm .python-version - python -m build --wheel # --no-isolation + python -m build --wheel --no-isolation } package() { cd "$pkgname-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}" } diff --git a/pyproject.toml b/pyproject.toml index 90751ce..7391b0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,9 @@ +[build-system] +requires = ["setuptools >= 56"] + [project] name = "rofi-notion" -version = "2.0.2" +version = "2.0.3" authors = [ {name = "Arnaud Gissinger", email = "agissing@student.42.fr"}, ]