summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 535944ebcc492b30ff5c31a5371f0f2e5f6b0ec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
pkgname=python-sphinx-favicon
pkgver=1.0.1
pkgrel=1
pkgdesc="A Sphinx extension to add custom favicons."
arch=('any')
url="https://github.com/tcmetzger/sphinx-favicon"
license=('MIT')
makedepends=(python-build python-installer python-wheel)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('6f17726fd8c8fc9e092a2e21244b3ecd4a291a5d5b88cc4d4541732b3cf86c27')

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

package() {
    cd "${pkgname#python-}-${pkgver}"
    python -m installer --destdir="$pkgdir" dist/*.whl
}
# vim:set ts=4 sw=4 et: