summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f71f8849c14088447cae24fe3b05c3020d756336 (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
# Maintainer: kageru <kageru[at]encode[dot]moe>

_plug=vsutil
pkgname=vapoursynth-plugin-${_plug}-git
pkgver=r73.5ff158e
pkgrel=1
pkgdesc='A collection of general purpose Vapoursynth functions to be reused in modules/scripts'
arch=('x86_64')
url='https://github.com/Irrational-Encoding-Wizardry/vsutil'
license=('MIT')
depends=('vapoursynth')
makedepends=('git'
             'python-setuptools')
provides=("vapoursynth-plugin-${_plug}")
conflicts=("vapoursynth-plugin-${_plug}")
source=("${_plug}::git+https://github.com/Irrational-Encoding-Wizardry/vsutil.git")
sha256sums=('SKIP')

pkgver() {
    cd "${_plug}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "${_plug}"
    python setup.py build
}

package() {
    cd "${_plug}"
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}