diff options
author | Stephen Zhang | 2017-03-16 14:28:52 +0800 |
---|---|---|
committer | Stephen Zhang | 2017-03-16 14:28:52 +0800 |
commit | 6737690b6843159e7e60c0ffb88bcd495fc2dfa1 (patch) | |
tree | ee2ea47b170daeeb2ccf012bf4e2b9bbbce6d0d9 | |
parent | ed3a82e3af6f4d6d9a2d75338a5a91d050d27c69 (diff) | |
download | aur-6737690b6843159e7e60c0ffb88bcd495fc2dfa1.tar.gz |
skip build in package()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Wed Mar 15 21:48:52 UTC 2017 +# Thu Mar 16 06:28:42 UTC 2017 pkgbase = python-pytorch-git pkgdesc = Tensors and Dynamic neural networks in Python with strong GPU acceleration pkgver = 0.1.10.r46.gbe6322e4 @@ -63,7 +63,7 @@ package_python2-pytorch-git() { provides=('python2-pytorch') depends+=('python2' 'python2-ymal' 'python2-numpy') cd "$srcdir/${_pkgname}-py2" - python2 setup.py install --root="$pkgdir"/ --optimize=1 + python2 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" } @@ -72,7 +72,7 @@ package_python-pytorch-git() { provides=('python-pytorch') depends+=('python' 'python-ymal' 'python-numpy') cd "$srcdir/${_pkgname}" - python setup.py install --root="$pkgdir"/ --optimize=1 + python setup.py install --root="$pkgdir"/ --optimize=1 --skip-build install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" } |