Created
January 20, 2013 05:06
-
-
Save fishman/4576768 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=mono3 | |
pkgver=3.0.2 | |
pkgrel=1 | |
pkgdesc="Free implementation of the .NET platform including runtime and compiler" | |
url="http://www.mono-project.com/" | |
arch=('i686' 'x86_64') | |
license=('GPL' 'LGPL2' 'MPL' 'custom:MITX11') | |
depends=('zlib' 'libgdiplus>=2.10' 'sh') | |
makedepends=('pkgconfig') | |
options=('!libtool' '!makeflags') | |
provides=('monodoc' 'mono=3.0.2') | |
conflicts=('monodoc' 'mono' 'mono-git') | |
md5sums=('c8a14c8c0a6013d865f81324830e0eec' '7d6ea0cea1776ec54a6de7f13f99f842') | |
source=("http://download.mono-project.com/sources/mono/mono-${pkgver}.tar.bz2" "archbuild.patch") | |
build() | |
{ | |
cd ${srcdir}/mono-${pkgver} | |
patch -p1 < ${srcdir}/archbuild.patch | |
#build mono | |
./autogen.sh --prefix=/usr --sysconfdir=/etc \ | |
--with-libgdiplus=installed | |
make || return 1 | |
} | |
package() { | |
cd ${srcdir}/mono-${pkgver} | |
make DESTDIR=${pkgdir} install || return 1 | |
#install license | |
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} | |
install -m644 mcs/MIT.X11 ${pkgdir}/usr/share/licenses/${pkgname}/ | |
#fix the .pc file to be able to request mono on what it depends, fixes #go-oo build | |
sed -i -e "s:#Requires:Requires:" ${pkgdir}/usr/lib/pkgconfig/mono.pc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment