summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2017-03-27 14:53:19 -0300
committerDaniel Bermond2017-03-27 14:53:19 -0300
commit177018e7a8308bbaba3029800a15e57acca66298 (patch)
tree6fb7b504517e13f4305b3278068ecb6198637660
parent8d99fb70eea189189e13cd6c5c6423801c21c05f (diff)
downloadaur-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--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d83abf1f9db3..6d193375a56a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 45d4d122d809..4da5248aa10d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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'..."