2022-10-21 23:45:43 -07:00
|
|
|
# Maintainer: Sudacode <the dot sudacode at gmail dot com>
|
|
|
|
_pkgname=python-rofi
|
|
|
|
pkgname="${_pkgname}-git"
|
2022-10-23 23:15:58 -07:00
|
|
|
_pkgver=1.2.0
|
2022-10-21 23:45:43 -07:00
|
|
|
pkgver=${_pkgver//-/_}
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Python wrapper for rofi'
|
|
|
|
license=('MIT')
|
|
|
|
makedepends=('python-wheel')
|
|
|
|
arch=('any')
|
|
|
|
url="https://gitea.suda.codes/sudacode/python-rofi.git"
|
|
|
|
provides=('python-rofi')
|
|
|
|
makedepends=('python-wheel' 'git')
|
|
|
|
source=("git+${url}")
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/${_pkgname}"
|
|
|
|
python -m build --wheel --no-isolation
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$pkgdir"
|
|
|
|
python -m installer --destdir="$pkgdir" "$srcdir/$_pkgname"/dist/*.whl
|
|
|
|
}
|
|
|
|
sha256sums=('SKIP')
|