Compare commits
5
Commits
9e2f530a73
...
v0.3.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc8b117957 | ||
|
|
0527c53724 | ||
|
|
38df06e0a9 | ||
|
|
d392551cf8 | ||
|
|
b9fcc85622 |
@@ -1,5 +1,5 @@
|
|||||||
pkgname='zshell'
|
pkgname='zshell'
|
||||||
pkgver=0.1.0
|
pkgver=0.2.0.r36.g80ee714
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='The cli for zshell'
|
pkgdesc='The cli for zshell'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@@ -7,14 +7,18 @@ url='https://git.zach-dev.cc/zach/z-bar-qt'
|
|||||||
license=('GPL-3.0-only')
|
license=('GPL-3.0-only')
|
||||||
depends=('python' 'python-pillow' 'python-materialyoucolor' 'libnotify' 'swappy' 'dart-sass'
|
depends=('python' 'python-pillow' 'python-materialyoucolor' 'libnotify' 'swappy' 'dart-sass'
|
||||||
'app2unit' 'wl-clipboard' 'dconf' 'cliphist' 'python-typer' 'qt6-canvaspainter')
|
'app2unit' 'wl-clipboard' 'dconf' 'cliphist' 'python-typer' 'qt6-canvaspainter')
|
||||||
makedepends=('python-build' 'python-installer' 'python-hatch' 'python-hatch-vcs' 'cargo' 'rust' 'cmake' 'ninja')
|
makedepends=('python-build' 'python-installer' 'python-hatch' 'python-hatch-vcs' 'cargo' 'rust' 'cmake' 'ninja' 'nuitka')
|
||||||
source=("$pkgname::git+$url.git#branch=feat/updated-components")
|
source=("$pkgname::git+$url.git#branch=main")
|
||||||
|
options=('!lto')
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
pkgver() {
|
||||||
cd "${srcdir}/${pkgname}/cli"
|
cd "${srcdir}/${pkgname}"
|
||||||
python -m build --wheel --no-isolation
|
git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' |
|
||||||
|
sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
cd "${srcdir}/${pkgname}/zshell-img-tools"
|
cd "${srcdir}/${pkgname}/zshell-img-tools"
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
@@ -24,9 +28,6 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}/cli"
|
|
||||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
||||||
|
|
||||||
cd "${srcdir}/${pkgname}"
|
cd "${srcdir}/${pkgname}"
|
||||||
DESTDIR="$pkgdir" cmake --install build
|
DESTDIR="$pkgdir" cmake --install build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user