summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormalahx2016-09-18 01:35:06 +0200
committermalahx2016-09-18 01:35:06 +0200
commit9e5b00cdada2df823f6c4a2287da33c7e5926873 (patch)
treeff13e46b64305d3eadbaf3e3369eb66655a975ba /PKGBUILD
parent60146a9788ca948b3e1e21375c796ffa81420c4e (diff)
downloadaur-9e5b00cdada2df823f6c4a2287da33c7e5926873.tar.gz
Parallel Mono Environments
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 14 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9ee1fbdc132..f0b142b7d3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,27 +7,24 @@ pkgname=mono42
_pkgname=mono
pkgver=4.2.4.4
_pkgver=4.2.4
-pkgrel=1
+pkgrel=2
pkgdesc="Free implementation of the .NET platform including runtime and compiler"
arch=(i686 x86_64)
license=('GPL' 'LGPL2.1' 'MPL' 'custom:MITX11')
url="http://www.mono-project.com/"
depends=('zlib' 'libgdiplus>=3.8' 'sh' 'python' 'ca-certificates')
-provides=('monodoc' "mono=${pkgver}")
-conflicts=('monodoc' 'mono')
install="${pkgname}.install"
-source=(http://download.mono-project.com/sources/mono/${_pkgname}-${pkgver}.tar.bz2)
-sha256sums=('ae74292c672e276276edc5461914f3e184d427a7a2ac099d3ce2640abe5dc0c6')
+source=(http://download.mono-project.com/sources/mono/${_pkgname}-${pkgver}.tar.bz2
+ "mono42-dev-env")
+sha256sums=('ae74292c672e276276edc5461914f3e184d427a7a2ac099d3ce2640abe5dc0c6'
+ '2de4aa94b4f59a840fb5d75f2fb6016dd4f666832fd831316402cffd7187752e')
build() {
cd "${srcdir}"/${_pkgname}-${_pkgver}
# build mono
./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --bindir=/usr/bin \
- --sbindir=/usr/bin \
+ --prefix=/opt/${pkgname} \
--with-mcs-docs=no
make
@@ -42,14 +39,17 @@ package() {
# install jay
pushd "${srcdir}"/${_pkgname}-${_pkgver}/mcs/jay
- make DESTDIR="${pkgdir}" prefix=/usr INSTALL=../../install-sh install
+ make DESTDIR="${pkgdir}" prefix=/opt/${pkgname} INSTALL=../../install-sh install
popd
#install license
- mkdir -p "${pkgdir}"/usr/share/licenses/${_pkgname}
- install -m644 mcs/MIT.X11 "${pkgdir}"/usr/share/licenses/${_pkgname}/
+ mkdir -p "${pkgdir}"/opt/${pkgname}/licenses/${_pkgname}
+ install -m644 mcs/MIT.X11 "${pkgdir}"/opt/${pkgname}/licenses/${_pkgname}/
#fix .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
- sed -i -e "s:/2.0/:/4.5/:g" "${pkgdir}"/usr/lib/pkgconfig/mono-nunit.pc
+ sed -i -e "s:#Requires:Requires:" "${pkgdir}"/opt/${pkgname}/lib/pkgconfig/mono.pc
+ sed -i -e "s:/2.0/:/4.5/:g" "${pkgdir}"/opt/${pkgname}/lib/pkgconfig/mono-nunit.pc
+
+ #install mono42-dev-env
+ install -m644 "${srcdir}/mono42-dev-env" "${pkgdir}"/opt/${pkgname}/mono42-dev-env
}