initial commit
This commit is contained in:
commit
9da2da2bf8
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
@ -0,0 +1,14 @@
|
||||
pkgbase = python-rofi-git
|
||||
pkgdesc = Python wrapper for rofi
|
||||
pkgver = 1.1.0
|
||||
pkgrel = 1
|
||||
url = https://gitea.suda.codes/sudacode/python-rofi.git
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = python-wheel
|
||||
makedepends = git
|
||||
provides = python-rofi
|
||||
source = git+https://gitea.suda.codes/sudacode/python-rofi.git
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = python-rofi-git
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
pkg
|
||||
src
|
||||
python-rofi*
|
25
PKGBUILD
Normal file
25
PKGBUILD
Normal file
@ -0,0 +1,25 @@
|
||||
# Maintainer: Sudacode <the dot sudacode at gmail dot com>
|
||||
_pkgname=python-rofi
|
||||
pkgname="${_pkgname}-git"
|
||||
_pkgver=1.1.0
|
||||
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')
|
Loading…
Reference in New Issue
Block a user