32 lines
636 B
Bash
32 lines
636 B
Bash
|
# Maintainer: Nicholas Novak <nicholasmnovak@gmail.com>
|
||
|
|
||
|
pkgname=mpcli
|
||
|
pkgver=r82.66ac237
|
||
|
pkgrel=1
|
||
|
pkgdesc="Marketplace CLI"
|
||
|
arch=('any')
|
||
|
makedepends=('git')
|
||
|
provides=('mpcli')
|
||
|
depends=('go')
|
||
|
makedepends=('python-build' 'python-installer' 'python-wheel')
|
||
|
url=""
|
||
|
source=(
|
||
|
"mpcli::git+ssh://git@git.nicholasnovak.io:/nnovak/mpcli.git"
|
||
|
)
|
||
|
md5sums=('SKIP')
|
||
|
|
||
|
pkgver() {
|
||
|
cd "$srcdir/mpcli"
|
||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/mpcli"
|
||
|
python -m build --wheel --no-isolation
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "$srcdir/mpcli"
|
||
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
||
|
}
|