Date: Thursday, October 26, 2017 @ 13:25:39
  Author: arodseth
Revision: 264512

archrelease: copy trunk to community-x86_64

Added:
  grumpy/repos/community-x86_64/PKGBUILD
    (from rev 264511, grumpy/trunk/PKGBUILD)
Deleted:
  grumpy/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   58 +++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 33 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2017-10-26 13:25:28 UTC (rev 264511)
+++ PKGBUILD    2017-10-26 13:25:39 UTC (rev 264512)
@@ -1,25 +0,0 @@
-# $Id: PKGBUILD 194006 2016-10-30 14:58:09Z arodseth $
-# Maintainer: Alexander F Rødseth <xypr...@archlinux.org>
-
-pkgname=grumpy
-pkgver=0.1
-pkgrel=2
-pkgdesc='Python to Go transpiler and Python interpreter'
-arch=('x86_64' 'i686')
-url='https://github.com/google/grumpy'
-depends=('go' 'python2')
-makedepends=('go' 'python2' 'git')
-license=('Apache')
-options=('!strip')
-source=("git+https://github.com/google/grumpy.git#commit=401813edf5da8807418711122eaf12a18fb6bd64";)
-md5sums=('SKIP')
-
-build() {
-  make -C grumpy
-}
-
-package() {
-  DESTDIR="$pkgdir" make -C grumpy install
-}
-
-# vim: ts=2 sw=2 et:

Copied: grumpy/repos/community-x86_64/PKGBUILD (from rev 264511, 
grumpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2017-10-26 13:25:39 UTC (rev 264512)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 194006 2016-10-30 14:58:09Z arodseth $
+# Maintainer: Alexander F Rødseth <xypr...@archlinux.org>
+
+pkgname=grumpy
+pkgver=0.1
+pkgrel=3
+pkgdesc='Python to Go transpiler and Python interpreter'
+arch=('x86_64')
+license=('Apache')
+url='https://github.com/google/grumpy'
+options=('!strip')
+depends=('python2')
+makedepends=('go-pie' 'git')
+optdepend=('go: compile sources with Go'
+           'go-pie: compile sources with Go (PIE)'
+           'gcc-go: compile sources with gcc-go')
+source=("git+https://github.com/google/grumpy.git#commit=2c8ff4b377ebb6455cf81ef8b7a4ec6cd435ed61";)
+md5sums=('SKIP')
+
+prepare() {
+  # https://github.com/google/grumpy/issues/378
+  find "$srcdir" -type f -name "*.go" -exec sed -i 's:const _ =:const _x =:g' 
'{}' \;
+}
+
+build() {
+  make -C grumpy
+}
+
+package() {
+  DESTDIR="$pkgdir" make -C grumpy install
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to