extra/mono to 3.2.3-2

This commit is contained in:
Kevin Mihelich 2014-02-09 15:21:22 +00:00
parent 25df86d3bd
commit 21c8147010
2 changed files with 7 additions and 18 deletions

View file

@ -8,24 +8,20 @@
pkgname=mono
pkgver=3.2.3
pkgrel=1
pkgrel=2
pkgdesc="Free implementation of the .NET platform including runtime and compiler"
arch=(i686 x86_64)
license=('GPL' 'LGPL2' 'MPL' 'custom:MITX11')
license=('GPL' 'LGPL2.1' 'MPL' 'custom:MITX11')
url="http://www.mono-project.com/"
depends=('zlib' 'libgdiplus>=2.10' 'sh')
makedepends=('pkgconfig')
depends=('zlib' 'libgdiplus>=2.10' 'sh' 'python')
options=('!libtool' '!makeflags')
provides=('monodoc')
conflicts=('monodoc')
install=mono.install
source=(http://download.mono-project.com/sources/mono/${pkgname}-${pkgver}.tar.bz2
mono.binfmt.d
mono.install
sgen_fix.patch)
md5sums=('a66c6309fad071e21f77f4c6b67a0f10'
'b9ef8a65fea497acf176cca16c1e2402'
'ca1108e9638b01c26453ee663592a4e5'
'8a700b94bff7a913f920e95890d2fb4c')
build() {
@ -40,10 +36,10 @@ build() {
sed -i 's/AM_PROG_CC_STDC/AC_PROG_CC/' configure.in
sed -i 's/AUTOMAKE_OPTIONS = cygnus//' runtime/Makefile.am
./autogen.sh --prefix=/usr --sysconfdir=/etc \
--with-fpu=VFP --bindir=/usr/bin --sbindir=/usr/bin
--with-fpu=VFP --bindir=/usr/bin --sbindir=/usr/bin --disable-static
else
sed -i 's/armv6=yes/armv6=no/' configure
./configure --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin --sbindir=/usr/bin
./configure --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin --sbindir=/usr/bin --with-fpu=NONE --disable-static
fi
make
@ -57,9 +53,9 @@ package() {
make DESTDIR=${pkgdir} install
# install jay
cd ${srcdir}/${pkgname}-${pkgver}/mcs/jay
pushd "${srcdir}"/${pkgname}-${pkgver}/mcs/jay
make DESTDIR=${pkgdir} prefix=/usr INSTALL=../../install-sh install
cd ${srcdir}/${pkgname}-${pkgver}
popd
# install binfmt conf file and pathes
install -D -m644 ${srcdir}/mono.binfmt.d ${pkgdir}/usr/lib/binfmt.d/mono.conf

View file

@ -1,7 +0,0 @@
post_install() {
ln -sf /bin/mono-sgen /bin/mono
}
post_upgrade() {
post_install
}