summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 709da199b6c7def7b978779bd7513e1c449881f6 (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: jhossbach <julian dot hossbach at gmx dot de>

pkgname=jupyterlab-catppuccin
pkgver=0.2.0
pkgrel=1
pkgdesc='Catppuccin theme for jupyterlab.'
arch=(any)
url="https://github.com/catppuccin/jupyterlab"
license=(MIT)
depends=(python jupyterlab)
makedepends=(python-build python-installer python-hatchling python-hatch-jupyter-builder python-hatch-nodejs-version python-rfc3986-validator)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/catppuccin/jupyterlab/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('323a67cda29b56489b27313f95bcfa663eb0a5aea8809678e8638acf81f6a6b2')

build() {
    cd "jupyterlab-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
  cd "jupyterlab-$pkgver"
  python -m installer --destdir="$pkgdir" dist/*.whl

  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}