Files
vship-PKGBUILD/PKGBUILD
T
2025-06-15 16:51:00 +00:00

30 lines
705 B
Bash

_plug=vship-cuda
pkgname=vapoursynth-plugin-${_plug}-git
pkgrel=1
pkgver=3.0.0.13.g1ed2fb3
pkgdesc="Plugin for Vapoursynth: ${_plug} (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}"
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
}