Files
vship-PKGBUILD/PKGBUILD
T
2025-11-18 23:04:46 +00:00

35 lines
820 B
Bash

# Maintainer: CreamSodass <greatvaluecreamsoda@gmail.com>
_plug=vship
pkgname=vapoursynth-plugin-${_plug}-cuda-git
pkgrel=1
pkgver=3.0.0.13.g1ed2fb3
pkgdesc="Plugin for Vapoursynth: ${_plug} for nvidia gpus (GIT version)"
arch=('x86_64')
url='https://github.com/Line-fr/Vship'
license=('MIT')
depends=('vapoursynth' 'cuda')
makedepends=('git' 'make')
provides=("vapoursynth-plugin-${_plug}")
conflicts=("vapoursynth-plugin-${_plug}")
source=("${_plug}::git+https://github.com/Line-fr/Vship.git")
sha256sums=('SKIP')
build() {
cd "${_plug}"
export PATH="/opt/cuda/bin:$PATH"
make buildcudaall
}
pkgver() {
cd "${srcdir}/${_plug}"
# Generate pkgver like: v3.0.0.0.g7cd1d4f
git describe --tags --long | sed 's/^v//;s/-/./g'
}
package(){
cd "${_plug}"
make PREFIX="/usr" DESTDIR="${pkgdir}" install
}