diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -1,14 +1,14 @@ # Maintainer: Nils Amiet <amietn@foobar> pkgname=vcsi -pkgver=7 -pkgrel=2 +pkgver=7.0.16 +pkgrel=1 pkgdesc="Create video contact sheets, thumbnails" arch=(any) url="https://github.com/amietn/vcsi" license=('MIT') groups=() -depends=(python ffmpeg python-numpy python-pillow python-jinja python-texttable ttf-dejavu) -makedepends=(git) +depends=(python ffmpeg python-numpy python-pillow python-jinja python-texttable ttf-dejavu python-parsedatetime python-setuptools) +makedepends=(git python-installer python-poetry) provides=() conflicts=() replaces=() @@ -18,7 +18,17 @@ install= source=("${pkgname}::git+https://github.com/amietn/vcsi.git#tag=v${pkgver}") sha256sums=('SKIP') +prepare() { + git -C "${srcdir}/${pkgname}" clean -dfx +} + +build() { + cd "${pkgname}" + poetry build +} + package() { cd "${pkgname}" - python setup.py install --root="${pkgdir}/" --optimize=1 + python -m installer --destdir="${pkgdir}" dist/*.whl } + |