[arch-commits] Commit in lua-alt-getopt/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Mon May 4 15:45:16 UTC 2015


    Date: Monday, May 4, 2015 @ 17:45:16
  Author: anatolik
Revision: 132731

lua51-* package should depend only on lua5.1

Modified:
  lua-alt-getopt/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-04 14:21:05 UTC (rev 132730)
+++ PKGBUILD	2015-05-04 15:45:16 UTC (rev 132731)
@@ -11,8 +11,7 @@
 license=('MIT')
 arch=('any')
 url="http://luaforge.net/projects/alt-getopt/"
-depends=('lua' 'lua51')
-makedepends=('bmake')
+makedepends=('bmake' 'lua' 'lua51')
 source=("http://mova.org/~cheusov/pub/lua_alt_getopt/lua-alt-getopt-${pkgver}.tar.gz"
         'LICENSE')
 sha1sums=('431b590002f5fdced78e0745a9a283aefdd1dfa0'
@@ -28,6 +27,7 @@
 }
 
 package_lua51-alt-getopt() {
+  depends=('lua51')
   cd $srcdir/build51
   install -Dm755 alt_getopt "${pkgdir}/usr/bin/alt_getopt5.1"
   install -Dm664 alt_getopt.lua "${pkgdir}/usr/share/lua/5.1/alt_getopt.lua"
@@ -35,6 +35,7 @@
 }
 
 package_lua-alt-getopt() {
+  depends=('lua')
   cd $srcdir/build52
   install -Dm755 alt_getopt "${pkgdir}/usr/bin/alt_getopt"
   install -Dm664 alt_getopt.lua "${pkgdir}/usr/share/lua/5.2/alt_getopt.lua"



More information about the arch-commits mailing list