[arch-commits] CVS update of extra/devel/mono (PKGBUILD)

daniel at archlinux.org daniel at archlinux.org
Thu Nov 1 16:21:00 UTC 2007


    Date: Thursday, November 1, 2007 @ 12:21:00
  Author: daniel
    Path: /home/cvs-extra/extra/devel/mono

Modified: PKGBUILD (1.59 -> 1.60)

add license tag, install MIT license


----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)


Index: extra/devel/mono/PKGBUILD
diff -u extra/devel/mono/PKGBUILD:1.59 extra/devel/mono/PKGBUILD:1.60
--- extra/devel/mono/PKGBUILD:1.59	Sat Oct  6 09:33:31 2007
+++ extra/devel/mono/PKGBUILD	Thu Nov  1 12:21:00 2007
@@ -1,5 +1,5 @@
-# $Id: PKGBUILD,v 1.59 2007/10/06 13:33:31 daniel Exp $
-# Maintainer: tobias <tobias at archlinux.org>
+# $Id: PKGBUILD,v 1.60 2007/11/01 16:21:00 daniel Exp $
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
 # Contributor: Brice Carpentier <brice at dlfp.org>
 
 pkgname=mono
@@ -7,6 +7,7 @@
 pkgrel=1
 pkgdesc="Free implementation of the .NET platform including runtime and compiler"
 arch=(i686 x86_64)
+license=('GPL' 'LGPL2' 'MPL' 'custom:MITX11')
 url="http://www.mono-project.com/"
 depends=('zlib' 'libgdiplus>=1.2.5')
 makedepends=('pkgconfig')
@@ -20,6 +21,7 @@
   # get rid of that .wapi errors; thanks to brice
   export MONO_SHARED_DIR=${startdir}/src/weird
   mkdir -p "${MONO_SHARED_DIR}"
+  mkdir -p ${startdir}/pkg/usr/share/licenses/$pkgname
   # build mono
   cd ${startdir}/src/${pkgname}-${pkgver}
   rm -f libgc/libtool.m4
@@ -36,4 +38,7 @@
   # install daemons and pathes
   mkdir -p ${startdir}/pkg/etc/rc.d
   install -m755 ${startdir}/src/mono.rc.d $startdir/pkg/etc/rc.d/mono
+
+  #install license
+  install -m644 mcs/MIT.X11 ${startdir}/pkg/usr/share/licenses/$pkgname/
 }




More information about the arch-commits mailing list