summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 70301e8dbdaebd31d74cd006d5b713abc8914cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Oystein Sture <oysstu a.t gmail.com>
# Contributor: 

pkgname=python-imageio-ffmpeg
pkgver=0.4.9
pkgrel=1
pkgdesc="FFMPEG wrapper for Python"
arch=("any")
license=("BSD")
url="https://github.com/imageio/imageio-ffmpeg"
depends=('python' 'ffmpeg')
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools')
source=("git+https://github.com/imageio/imageio-ffmpeg.git#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
    cd "imageio-ffmpeg"
    python -m build --wheel --no-isolation
}

package() {
    cd "imageio-ffmpeg"
    python -m installer --destdir="$pkgdir" dist/*.whl
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/python-imageio-ffmpeg/LICENSE"
}