diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD
index 61f16553f..d10ea264e 100644
--- a/community/go/PKGBUILD
+++ b/community/go/PKGBUILD
@@ -65,7 +65,7 @@ check() {
 package() {
   cd "$pkgname-$pkgver"
 
-  export GOROOT="$srcdir/$pkgname"
+  export GOROOT="$srcdir/$pkgname-$pkgver"
 
   install -Dm644 LICENSE \
     "$pkgdir/usr/share/licenses/go/LICENSE"