summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db2cbaafe2a48249f09eeea7ebd38c5f970833c7 (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
# Maintainer: CreamSodass <greatvaluecreamsoda@gmail.com>

_plug=vship
pkgname=vapoursynth-plugin-vship-cuda-git
pkgrel=3
pkgver=4.0.0.21.g5308ad8
pkgdesc="Plugin for Vapoursynth: vship for nvidia gpus (GIT version)"
arch=('x86_64')
url='https://github.com/Line-fr/Vship'
license=('MIT')
depends=('cuda')
makedepends=('git' 'make')
optdepends=('vapoursynth: vapoursynth plugin usage')
provides=("vapoursynth-plugin-vship" "libvship")
conflicts=("vapoursynth-plugin-vship" "libvship")
source=("vship::git+https://github.com/Line-fr/Vship.git")
sha256sums=('SKIP')

build() {
  cd "vship"
  export PATH="/opt/cuda/bin:$PATH"

  make buildcudaall
}

pkgver() {
  cd "${srcdir}/vship"
  # Generate pkgver like: v3.0.0.0.g7cd1d4f
  git describe --tags --long | sed 's/^v//;s/-/./g'
}

package(){
  cd "vship"
  make PREFIX="/usr" DESTDIR="${pkgdir}" install
}