diff --git a/.SRCINFO b/.SRCINFO index 3de065c386f7..148a86f3335b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = auto-editor pkgdesc = A command line application for automatically editing video and audio. pkgver = 25.0.1 - pkgrel = 1 + pkgrel = 2 url = https://auto-editor.com/ arch = any license = Unlicense - makedepends = python-setuptools makedepends = python-build - makedepends = python-pip + makedepends = python-installer + makedepends = python-wheel depends = python depends = python-numpy depends = python-av diff --git a/PKGBUILD b/PKGBUILD index 02ffa32a8379..01b54cf16a3d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,24 +3,26 @@ pkgname=auto-editor pkgver=25.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="A command line application for automatically editing video and audio." url="https://auto-editor.com/" arch=('any') license=("Unlicense") depends=('python' 'python-numpy' 'python-av') optdepends=('yt-dlp: download and use URLs as inputs') -makedepends=('python-setuptools' 'python-build' 'python-pip') +makedepends=('python-build' 'python-installer' 'python-wheel') source=("$pkgname-$pkgver.tar.gz::https://github.com/WyattBlue/auto-editor/archive/refs/tags/${pkgver}.tar.gz") sha256sums=('6cd5e08223fa8d36727fc31422f8a7d30a87ff877ced5732a64543be1b20542c') build() { cd auto-editor-$pkgver - python -m build + python -m build --wheel --no-isolation } package() { cd auto-editor-$pkgver - python -m pip install --no-dependencies --root="$pkgdir" dist/*.whl + + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }