Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD

By: a guest on Apr 6th, 2012  |  syntax: Bash  |  size: 0.92 KB  |  views: 135  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Mathieu Pasquet <mathieui at mathieui.net>
  2. # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
  3. # Contributor: Andrea Agosti <cifvts@gmail.com>
  4.  
  5. pkgname=bouml
  6. pkgver=4.22.2
  7. pkgrel=1
  8. pkgdesc='A free UML 2 modeler with C++, Idl, Java, PHP and Python code generation'
  9. arch=('i686' 'x86_64')
  10. options=('makeflags')
  11. url='http://bouml.free.fr/'
  12. license=('GPL')
  13. depends=('qt3')
  14. source=("http://content.wuala.com/contents/BOUML/4.22.2/bouml_4.22.2.tar.gz/?dl=1")
  15. md5sums=('9462d6c6f6491069224a44380da5a8f1')
  16.  
  17.  
  18.  
  19.  
  20. build() {
  21.   cd "$srcdir"/${pkgname}_$pkgver
  22.  
  23.   # we need Qt3
  24.   . /etc/profile.d/qt3.sh || return 1
  25.   export PATH="$QTDIR/bin:$PATH"
  26.  
  27.   # export qmakespec
  28.   if [ `uname -m` = "x86_64" ]; then
  29.     export QMAKESPEC="linux-g++-64"
  30.   else
  31.     export QMAKESPEC="linux-g++-32"
  32.   fi
  33.  
  34.   # make and install
  35.   make || return 1
  36.   make -I"$QTDIR/include" DESTDIR="$pkgdir" install || return 1
  37. }