summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorStephen Zhang2017-03-16 14:28:52 +0800
committerStephen Zhang2017-03-16 14:28:52 +0800
commit6737690b6843159e7e60c0ffb88bcd495fc2dfa1 (patch)
treeee2ea47b170daeeb2ccf012bf4e2b9bbbce6d0d9 /PKGBUILD
parented3a82e3af6f4d6d9a2d75338a5a91d050d27c69 (diff)
downloadaur-6737690b6843159e7e60c0ffb88bcd495fc2dfa1.tar.gz
skip build in package()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 90a1550076e..fe4648e1c5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}