[arch-commits] Commit in snapd/trunk (PKGBUILD)
Timothy Redaelli
tredaelli at archlinux.org
Fri Jul 1 14:29:47 UTC 2016
Date: Friday, July 1, 2016 @ 14:29:47
Author: tredaelli
Revision: 181676
upgpkg: snapd 2.0.10-1
Modified:
snapd/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-01 14:14:29 UTC (rev 181675)
+++ PKGBUILD 2016-07-01 14:29:47 UTC (rev 181676)
@@ -14,7 +14,7 @@
checkdepends=('python')
options=('!strip' 'emptydirs')
install=snapd.install
-source=("$pkgname-$pkgver::git+https://github.com/snapcore/$pkgname.git#tag=$pkgver"
+source=("git+https://github.com/snapcore/$pkgname.git#tag=$pkgver"
'snapd.sh'
'fix_test.patch')
md5sums=('SKIP'
@@ -24,7 +24,7 @@
_gourl=github.com/snapcore/snapd
prepare() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
patch -Np1 -i "$srcdir/fix_test.patch"
# Use $srcdir/go as our GOPATH
@@ -34,7 +34,7 @@
# way we don't have to go get it again and it is exactly what the tag/hash
# above describes.
mkdir -p "$(dirname "$GOPATH/src/${_gourl}")"
- ln --no-target-directory -fs "$srcdir/$pkgname-$pkgver" "$GOPATH/src/${_gourl}"
+ ln --no-target-directory -fs "$srcdir/$pkgname" "$GOPATH/src/${_gourl}"
}
build() {
More information about the arch-commits
mailing list