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

Allan McRae allan at archlinux.org
Sat Nov 7 06:23:01 UTC 2009


    Date: Saturday, November 7, 2009 @ 01:23:00
  Author: allan
Revision: 58350

make source url less ugly...

Modified:
  nethack/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-07 06:10:24 UTC (rev 58349)
+++ PKGBUILD	2009-11-07 06:23:00 UTC (rev 58350)
@@ -11,7 +11,7 @@
 url="http://www.nethack.org/index.html"
 license=('custom')
 depends=('ncurses' 'gzip')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-`echo $pkgver | sed 's@\.@@g'`-src.tgz)
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver//.}-src.tgz)
 md5sums=('21479c95990eefe7650df582426457f9')
 
 build(){




More information about the arch-commits mailing list