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

Pierre Schmitz pierre at archlinux.org
Wed Jun 2 11:00:36 UTC 2010


    Date: Wednesday, June 2, 2010 @ 07:00:36
  Author: pierre
Revision: 81714

simplify pkgver

Modified:
  openssl/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-02 10:49:29 UTC (rev 81713)
+++ PKGBUILD	2010-06-02 11:00:36 UTC (rev 81714)
@@ -4,7 +4,7 @@
 pkgname=openssl
 _ver=1.0.0a
 # use a pacman compatible version scheme
-pkgver=$(echo $_ver|sed -E 's/([a-z])$/.\1/')
+pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
 pkgrel=2
 pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security'
 arch=('i686' 'x86_64')




More information about the arch-commits mailing list