LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File PKGBUILD of Package monodevelope (Project home:ejb1123:Arch)

# $Id: PKGBUILD 188887 2013-06-23 21:49:24Z daniel $
# Maintainer: Daniel Kozak <kozzi11@gmail.com>

_pkgname=monodevelop
pkgname=monodevelop-beta
pkgver=4.2.3
pkgrel=1
pkgdesc="An IDE primarily designed for C sharp"

# should probably changed to "any" - no ELF files - OpenSUSE builds it as NOARCH 
arch=('i686' 'x86_64')

url="http://www.monodevelop.com"
license=('GPL')
depends=('mono>=2.10.8' 'mono-addins>=0.6.2' 'gnome-sharp' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('rsync' 'git')
options=(!makeflags)
install=monodevelop.install
source=(git://github.com/mono/monodevelop.git)
provides=(monodevelop)
conflicts=(monodevelop)
md5sums=('SKIP')


build() {

  cd ${srcdir}/${_pkgname}
  git checkout tags/${_pkgname}-${pkgver}
  git submodule update --init --recursive || return 1

  ./configure --prefix=/usr --profile=stable
  LD_PRELOAD="" make || return 1
}

package() {
  
  cd ${srcdir}/${_pkgname}  
  LD_PRELOAD="" make DESTDIR=$pkgdir install
  # delete conflicting files
  find $pkgdir/usr/share/mime/ -type f -exec rm {} \;
}