diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -1,4 +1,19 @@ # Maintainer : bartus <arch-user-repoᘓbartus.33mail.com> + +function download_git-lfs { + local url dir + url=${1#git-lfs+} + download_git "$url" + dir="$SRCDEST/$(get_filename "$url")" + git -C "$dir" lfs install + git -C "$dir" lfs fetch +} + +function extract_git-lfs { + url=${1/git-lfs/https} + extract_git "$url" +} + pkgname=oidn pkgver=1.2.3 _fragment="#tag=v${pkgver}" @@ -8,10 +23,10 @@ arch=('x86_64') url="http://www.openimagedenoise.org/" license=('Apache') depends=(intel-tbb python) -makedepends=(git cmake 'ispc>=1.14') +makedepends=(git git-lfs cmake 'ispc>=1.14') source=("${pkgname}::git+https://github.com/OpenImageDenoise/oidn.git${_fragment}" "git+https://github.com/OpenImageDenoise/mkl-dnn.git" - "git+https://github.com/OpenImageDenoise/oidn-weights.git" + "git-lfs+https://github.com/OpenImageDenoise/oidn-weights.git" ) md5sums=('SKIP' 'SKIP' |