summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34bae7b8100dd5ac093b4bb773e065487305aa04 (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: Marco Rubin <marco.rubin@protonmail.com>

_name=concur
pkgname=python-$_name
pkgver=0.10.0
pkgrel=1
pkgdesc='Beautiful side-by-side diffs'
arch=(any)
url='https://github.com/darrenburns/dunk'
license=('MIT')
depends=(python python-concur-imgui)
makedepends=(python-build python-installer python-wheel)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('c1773837e6e5fb5dcbe533d12954e3a18bdbf3881f2cc1038a86fb12ee517d72')

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

package() {
    cd "$_name-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
    install -Dm644 ../../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}