Skip to content

Commit

Permalink
[FIX] PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
mathix420 committed Sep 16, 2023
1 parent b0fef9c commit d703089
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 4 additions & 3 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
# Maintainer: Arnaud Gissinger <[email protected]>
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')

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}"
}
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"},
]
Expand Down

0 comments on commit d703089

Please sign in to comment.