LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File PKGBUILD of Package go_64 (Project home:SQP:archlinux-cairo-dock)

# $Id$
# Maintainer: sqp <sqp@glx_dock.org>

pkgname=('go-bad64')
pkgver=1.7rc6
pkgrel=1
pkgdesc='Go programming language from Google - bad version - just to build on OBS'
arch=('x86_64')
url='http://golang.org/'
license=('BSD')
options=('!strip' 'staticlibs')
#sha256sums=('4dab8db4e80519a91188da82e99d6ea8cb82c5269eec44978c0756098e7282d0')

package() {
  ls -l /usr/src/packages/SOURCES/
  
  mkdir -p ${pkgdir}/usr/local/
  tar -C ${pkgdir}/usr/local -xzf /usr/src/packages/SOURCES/go${pkgver}.linux-amd64.tar.gz
  
  mkdir -p ${pkgdir}/usr/bin
  mv ${pkgdir}/usr/local/go/bin/* ${pkgdir}/usr/bin
}