-
Notifications
You must be signed in to change notification settings - Fork 1
/
PKGBUILD
36 lines (34 loc) · 839 Bytes
/
PKGBUILD
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 <[email protected]>
pkgname=mud-git
_pkgname=mud
pkgver=1.0.0
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"
}