author | Vesa Kaihlavirta
<vesa@archlinux.org> 2011-09-09 06:47:41 UTC |
committer | Vesa Kaihlavirta
<vesa@archlinux.org> 2011-09-09 06:47:41 UTC |
parent | d0994e9091c5465a7dc9668b8385a3dbed37bcb3 |
PKGBUILD | +4 | -3 |
diff --git a/PKGBUILD b/PKGBUILD index 90fa790..a2feaa4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,8 +4,8 @@ # Contributor: Christian Himpel <chressie at gmail dot com> pkgname=go -pkgver=r59 -pkgrel=2 +pkgver=r60 +pkgrel=1 epoch=1 pkgdesc='Google Go compiler and tools (release version)' arch=('i686' 'x86_64') @@ -83,7 +83,8 @@ package() { install -Dm644 src/Make.* $pkgdir/usr/lib/go/src # remove object files from target src dir - find $pkgdir/usr/lib/go/src/ -name '*.[ao]' -delete + find $pkgdir/usr/lib/go/src/ -type f -name '*.[ao]' -delete + find $pkgdir/usr/lib/go/src/pkg -type f -executable -delete # Headers for C modules install -Dm644 src/pkg/runtime/runtime.h $pkgdir/usr/lib/go/src/pkg/runtime/runtime.h