Guest User

PKGBUILD omniorbpy 4.2.0

a guest
Oct 16th, 2014
224
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: Brice Méalier <mealier_brice@yahoo.fr>
  2. # Contributor: Essien Ita Essien <me@essienitaessien.com>
  3. # Contributor: Tobias Sandmann <tSa *at* gmx *dot* eu>
  4. # Maintainer: pfm <nl081130@yahoo.de>
  5.  
  6. pkgname=omniorbpy
  7. pkgver=4.2.0
  8. pkgrel=1
  9. pkgdesc="omniORB is a CORBA object request broker for C++ and Python."
  10. arch=(i686 x86_64)
  11. url="http://omniorb.sourceforge.net/"
  12. license=('LGPL')
  13. depends=('omniorb')
  14. makedepends=('python2')
  15. conflicts=('omniorbpy-omg' 'pyorbit')
  16. source=(http://downloads.sourceforge.net/omniorb/omniORBpy-$pkgver.tar.bz2)
  17. md5sums=('50ecde547c865aad2074d30224779412')
  18.  
  19.  
  20. build() {
  21.   mkdir -p -- "$srcdir/omniORBpy-$pkgver/build"
  22.   cd -- "$srcdir/omniORBpy-$pkgver/build"
  23.   ../configure PYTHON=/usr/bin/python2 --prefix=/usr
  24.   make
  25. }
  26.  
  27. package() {
  28.   cd -- "$srcdir/omniORBpy-$pkgver/build"
  29.   make DESTDIR="$pkgdir" install
  30.  
  31.   # remove conflicting files
  32.   rm "$pkgdir"/usr/lib/*/site-packages/omniidl_be/__init__.py*
  33.  
  34.   # adjust directory permissions
  35.   find "$pkgdir" -type d -exec chmod 755 '{}' \;
  36.   chmod 775 "$pkgdir"/{usr/include/omniORB4/,usr/lib/python2.7/site-packages/omniidl_be/}
  37.  
  38. }
RAW Paste Data