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

Vesa Kaihlavirta vesa at archlinux.org
Mon Apr 27 02:01:21 EDT 2009


    Date: Monday, April 27, 2009 @ 02:01:21
  Author: vesa
Revision: 36744

upgpkg: erlang R13B-2

Modified:
  erlang/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-27 04:53:33 UTC (rev 36743)
+++ PKGBUILD	2009-04-27 06:01:21 UTC (rev 36744)
@@ -1,10 +1,10 @@
 # $Id$
 # Contributor: Sarah Hay <sarahhay at mb.sympatico.ca>
-# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+# Maintainer: Vesa Kaihlavirta <vesa at archlinux.org>
 
 pkgname=erlang
 pkgver=R13B
-pkgrel=1
+pkgrel=2
 pkgdesc="A small concurrent functional programming language developed by Ericsson."
 arch=(i686 x86_64)
 options=('!makeflags')
@@ -18,8 +18,8 @@
 url="http://www.erlang.org/index.html"
 
 build() {
-  ERTSVERSION=5.6.${pkgver#*.}
   cd $startdir/src/otp_src_${pkgver/./-}
+  ERTSVERSION=$(sed -n 's/^VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < erts/vsn.mk)
 
   sed -i '/SSL_DYNAMIC_ONLY=/s:no:yes:' erts/configure || return 1
 



More information about the arch-commits mailing list