summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bfe1d84ee34fb807bb9f2b8823a863269ab0ef70 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
pkgname=vapoursynth-preview-iew-git
pkgver=0.8.1.38.g64ddaec
pkgrel=1
pkgdesc="Standalone previewer for VapourSynth scripts (GIT version)"
arch=('any')
url='https://github.com/Jaded-Encoding-Thaumaturgy/vs-preview'
license=('MIT')
depends=(
    'vapoursynth'
    'python-pyqt6'
    'python-pyqt6-sip'
    'python-pyaml'
    'python-qdarkstyle'
    'vapoursynth-plugin-vsengine-git'
    'vapoursynth-plugin-vsakarin-git'
    'python-matplotlib'
    'vapoursynth-plugin-vstools-git'
    'python-requests-toolbelt'
)
makedepends=('git'
    'python-pip'
    'python-wheel'
)
provides=("vapoursynth-preview")
conflicts=("vapoursynth-preview" "vapoursynth-preview-git")
source=("vapoursynth-preview::git+https://github.com/Jaded-Encoding-Thaumaturgy/vs-preview.git")
sha256sums=('SKIP')

pkgver() {
    cd "vapoursynth-preview"
    echo "$(git describe --long --tags | tr - . | tr -d v)"
}

build() {
    cd "vapoursynth-preview"
    pip wheel --no-deps . -w dist
}

package() {
    cd "vapoursynth-preview"
    pip install -I -U --root "${pkgdir}" --no-warn-script-location --no-deps dist/*.whl
}