summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Zhang2017-11-18 04:02:48 +0800
committerStephen Zhang2017-11-18 04:02:48 +0800
commit511f363906cdd2bbef2352109a7bb890f6607628 (patch)
treec269539c3b7e70b979d4f5368da80e7e5f99b876
parent76253cb09c621ea3eb239010d8c38868864b1dbf (diff)
downloadaur-511f363906cdd2bbef2352109a7bb890f6607628.tar.gz
fix PKGBUILD
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD3
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 86448a81e2e..45b77039a3f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Sep 25 04:34:29 UTC 2017
+# Fri Nov 17 20:02:34 UTC 2017
pkgbase = python-pytorch-git
pkgdesc = Tensors and Dynamic neural networks in Python with strong GPU acceleration
pkgver = 0.1.10.r46.gbe6322e4
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/pytorch/pytorch
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index aa0c9a8949e..4b40e11a645 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgbase="python-pytorch-git"
pkgname=("python-pytorch-git" "python2-pytorch-git")
_pkgname="pytorch"
pkgver=0.1.10.r46.gbe6322e4
-pkgrel=3
+pkgrel=4
pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration"
arch=('x86_64')
url="https://github.com/pytorch/pytorch"
@@ -29,6 +29,7 @@ prepare() {
cd "$srcdir/${_pkgname}"
git submodule update --init
+ cd "$srcdir"
cp -a "${_pkgname}" "${_pkgname}-py2"
cd "${_pkgname}"
sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \