summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOtakar Jašek2019-10-24 13:26:19 +0200
committerOtakar Jašek2019-10-24 13:26:19 +0200
commita1ae2210377efe1318ecda8688d43f0efa8116b8 (patch)
treeb558f535c3d0b6908f6e802fce79e3d662ce5c48 /PKGBUILD
downloadaur-a1ae2210377efe1318ecda8688d43f0efa8116b8.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ff2c328ae24
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: otaj
+
+pkgname=python-kornia
+_name=kornia
+pkgver=0.1.4
+pkgrel=1
+arch=(any)
+url='https://github.com/arraiyopensource/kornia'
+pkgdesc='Open Source Differentiable Computer Vision Library for PyTorch'
+license=(Apache)
+makedepends=('python-setuptools')
+depends=('python-pytorch')
+provides=('python-kornia')
+conflicts=('python-kornia')
+options=(!emptydirs)
+source=("${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('a07d822876a1df067c40b35ff36c4b17d56fc90f5114a0dee54725314cecec14')
+
+
+package() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+ install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}