[arch-commits] Commit in racket/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Fri Oct 28 03:23:27 UTC 2016


    Date: Friday, October 28, 2016 @ 03:23:26
  Author: kkeen
Revision: 193839

upgpkg: racket 6.7-1

Modified:
  racket/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-28 03:19:35 UTC (rev 193838)
+++ PKGBUILD	2016-10-28 03:23:26 UTC (rev 193839)
@@ -4,7 +4,7 @@
 
 pkgbase=racket
 pkgname=(racket racket-docs racket-minimal)
-pkgver=6.6
+pkgver=6.7
 pkgrel=1
 pkgdesc="A full-spectrum language with DrRacket IDE.  Formerly known as PLT Scheme."
 arch=('i686' 'x86_64')
@@ -15,13 +15,8 @@
 options=('!strip' '!emptydirs')
 source=("http://download.racket-lang.org/installers/${pkgver}/${pkgname}-${pkgver}-src.tgz")
 # "https://mirror.racket-lang.org/installers/${pkgver}/racket-minimal-${pkgver}-src.tgz"
-sha1sums=('67dc3a111600322585018c95895fe6c1bf21aaa5')
+sha1sums=('f8303e8397bd3177e303cf50649dacf1f4c51358')
 
-# -minimal (no DrRacket ide)
-# (ugh, the -minimal tarball uses the SAME extract path)
-# 95% the same sources, manually apply the difference?
-# https://github.com/racket/racket/blob/master/INSTALL.txt ?
-
 prepare() {
   echo "Icon=drracket" >> ${pkgname}-${pkgver}/share/pkgs/drracket/drracket/drracket.desktop
 }
@@ -70,12 +65,14 @@
   conflicts=('racket')
   provides=('racket')
 
+  # The -minimal tarball uses the SAME extract path.
+  # 99% identical sources anyway, manually apply the difference.
+  # Thankfully these builds happen in the given order
+  # so we can save some time and reuse the previous build.
   cd "${pkgbase}-${pkgver}"
-
-  # thankfully these builds happen in the given order
   echo '((root "pkgs/racket-lib"))' > share/links.rktd
   _libhash=$(grep -oP '\("racket-lib".*?#f\)\)' share/pkgs/pkgs.rktd)
-  echo "#hash($libhash)" > share/pkgs/pkgs.rktd
+  echo "#hash($_libhash)" > share/pkgs/pkgs.rktd
   cd share/pkgs
   find . -not -name '.' -not -name '*pkgs.rktd' -not -regex '.*/racket-lib.*' -delete
   cd ../../src



More information about the arch-commits mailing list