Advertisement
Guest User

PKGBUILD

a guest
Apr 6th, 2012
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement