mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/go to 1.0.3-4
This commit is contained in:
parent
3232ff4b05
commit
17795e839e
1 changed files with 4 additions and 6 deletions
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
pkgname=go
|
pkgname=go
|
||||||
pkgver=1.0.3
|
pkgver=1.0.3
|
||||||
pkgrel=3.1
|
pkgrel=4
|
||||||
epoch=2
|
epoch=2
|
||||||
pkgdesc='Google Go compiler and tools'
|
pkgdesc='Google Go compiler and tools'
|
||||||
arch=('x86_64' 'i686')
|
arch=('x86_64' 'i686')
|
||||||
|
@ -123,6 +123,9 @@ package() {
|
||||||
|
|
||||||
# Remove object files from target src dir
|
# Remove object files from target src dir
|
||||||
find $pkgdir/usr/lib/go/src/ -type f -name '*.[ao]' -delete
|
find $pkgdir/usr/lib/go/src/ -type f -name '*.[ao]' -delete
|
||||||
|
# Fix for FS#32813
|
||||||
|
find $pkgdir -type f -name sql.go -exec chmod -x {} \;
|
||||||
|
# Remove all executable source files
|
||||||
find $pkgdir/usr/lib/go/src/pkg -type f -executable -delete
|
find $pkgdir/usr/lib/go/src/pkg -type f -executable -delete
|
||||||
|
|
||||||
# Headers for C modules
|
# Headers for C modules
|
||||||
|
@ -136,11 +139,6 @@ package() {
|
||||||
|
|
||||||
# This is to make go get code.google.com/p/go-tour/gotour and
|
# This is to make go get code.google.com/p/go-tour/gotour and
|
||||||
# then running the gotour executable work out of the box.
|
# then running the gotour executable work out of the box.
|
||||||
#
|
|
||||||
# Also, /usr/bin is the place for system-wide executables,
|
|
||||||
# not /usr/lib/go/bin. Users should use different paths by
|
|
||||||
# setting the appropriate environment variables.
|
|
||||||
#
|
|
||||||
ln -sf /usr/bin $pkgdir/usr/lib/go/bin
|
ln -sf /usr/bin $pkgdir/usr/lib/go/bin
|
||||||
|
|
||||||
# For godoc
|
# For godoc
|
||||||
|
|
Loading…
Reference in a new issue