diff options
author | Daniel Bermond | 2017-03-27 14:53:19 -0300 |
---|---|---|
committer | Daniel Bermond | 2017-03-27 14:53:19 -0300 |
commit | 177018e7a8308bbaba3029800a15e57acca66298 (patch) | |
tree | 6fb7b504517e13f4305b3278068ecb6198637660 | |
parent | 8d99fb70eea189189e13cd6c5c6423801c21c05f (diff) | |
download | aur-177018e7a8308bbaba3029800a15e57acca66298.tar.gz |
Changed cd argument
No need to cd into $srcdir. It is already done internally by
makepkg as a standard.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 6 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Mar 27 17:50:18 UTC 2017 +# Mon Mar 27 17:53:08 UTC 2017 pkgbase = caffe-git pkgdesc = A deep learning framework made with expression, speed, and modularity in mind (git version, gpu enabled) pkgver = rc5.r5.g317d162ac - pkgrel = 2 + pkgrel = 3 url = http://caffe.berkeleyvision.org/ arch = x86_64 license = BSD @@ -4,7 +4,7 @@ pkgname=caffe-git pkgver=rc5.r5.g317d162ac -pkgrel=2 +pkgrel=3 pkgdesc="A deep learning framework made with expression, speed, and modularity in mind (git version, gpu enabled)" arch=('x86_64') url="http://caffe.berkeleyvision.org/" @@ -25,7 +25,7 @@ source=("${pkgname}"::"git+https://github.com/BVLC/caffe.git") sha256sums=('SKIP') prepare() { - cd "${srcdir}/${pkgname}" + cd "$pkgname" # prepare to configure options in Makefile.config cp -f Makefile.config.example Makefile.config @@ -81,14 +81,14 @@ prepare() { } pkgver() { - cd "${srcdir}/${pkgname}" + cd "$pkgname" # git, tags available git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "${srcdir}/${pkgname}" + cd "$pkgname" msg2 "Building target 'all'..." make all msg2 "Building target 'pycaffe'..." |