Initial Arch Linux packaging
This commit is contained in:
parent
e5bf961ddb
commit
555ea0ebbb
2 changed files with 32 additions and 3 deletions
31
PKGBUILD
Normal file
31
PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Maintainer: D. Can Celasun <can[at]dcc[dot]im>
|
||||
# Contributor: Ezekiel Bethel <mctinfoilball@gmail.com>
|
||||
|
||||
_pkgname=VNTools
|
||||
pkgname=vntools-git
|
||||
pkgver=2.0.e5bf961
|
||||
pkgrel=1
|
||||
pkgdesc="Collection of tools used by VienDesu! Porting Team"
|
||||
arch=("any")
|
||||
url="https://github.com/VienDesuPorting/VNTools"
|
||||
depends=("python" "python-pillow" "python-pillow-avif-plugin" "python-python-ffmpeg" "python-progress" "python-colorama")
|
||||
makedepends=("python-setuptools" "git")
|
||||
provides=("vntools")
|
||||
source=("git+${url}.git#branch=testing")
|
||||
sha256sums=("SKIP")
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
printf "2.0.%s" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||
}
|
||||
|
|
@ -16,10 +16,8 @@ Collection of tools used by VienDesu! Porting Team
|
|||
#### Build tools as binaries:
|
||||
* Run `./build.sh` on UNIX
|
||||
* Run `.\build.bat` for Windows
|
||||
* Arch Linux - `TODO`
|
||||
* NixOS - `TODO`
|
||||
|
||||
#### Install as python package:
|
||||
* Run `pip install -U .` command in project folder
|
||||
* Arch Linux - `TODO`
|
||||
* Arch Linux - `paru -Bi .`
|
||||
* NixOS - `TODO`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue