blob: 02e2d44c85568668274150645ce9c42389affe7d (
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
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Jasur Sadikov <jasur@sadikoff.com>
pkgname=mud-git
_pkgname=mud
pkgver=1.0.10
pkgrel=1
pkgdesc="Multi repository git utility. Manage multiple git-repositories simultaneously."
arch=('any')
url="https://github.com/jasursadikov/mud"
license=('MIT')
provides=("${pkgname}")
conflicts=("${pkgname}")
depends=(
'python'
'python-prettytable'
'git')
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-hatchling'
'python-setuptools'
'python-setuptools-scm'
)
source=("${pkgname}::git+${url}#tag=v${pkgver}")
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|