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

Guillaume Alaux guillaume at nymeria.archlinux.org
Sun Aug 18 11:17:10 UTC 2013


    Date: Sunday, August 18, 2013 @ 13:17:10
  Author: guillaume
Revision: 193186

Added link to license in sub package

Modified:
  antlr2/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-18 09:39:25 UTC (rev 193185)
+++ PKGBUILD	2013-08-18 11:17:10 UTC (rev 193186)
@@ -6,7 +6,7 @@
 pkgbase=antlr2
 pkgname=('antlr2' 'python2-antlr2')
 pkgver=2.7.7
-pkgrel=3
+pkgrel=4
 # Arch dependant files in /usr/lib/libantlr.a
 arch=('i686' 'x86_64')
 url="http://www.antlr2.org/"
@@ -56,4 +56,7 @@
 
   cd ${srcdir}/antlr-${pkgver}/lib/python
   python2 setup.py install --root="${pkgdir}" --optimize=1
+
+  install -d ${pkgdir}/usr/share/licenses
+  ln -s /usr/share/licenses/antlr2 ${pkgdir}/usr/share/licenses/${pkgname}
 }




More information about the arch-commits mailing list