[arch-commits] Commit in xdrawchem/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Sun Oct 5 17:22:02 UTC 2008


    Date: Sunday, October 5, 2008 @ 13:22:02
  Author: tpowa
Revision: 14311

upgpkg: xdrawchem 1.9.9-5

Modified:
  xdrawchem/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-10-05 17:10:46 UTC (rev 14310)
+++ PKGBUILD	2008-10-05 17:22:02 UTC (rev 14311)
@@ -3,21 +3,26 @@
 
 pkgname=xdrawchem
 pkgver=1.9.9
-pkgrel=4
+pkgrel=5
 pkgdesc="A two-dimensional molecule drawing program for Unix operating systems. It can read and write MDL Molfiles, and read ChemDraw text and binary files, to allow sharing between XDrawChem and other chemistry applications, and it can create images in popular formats like PNG and EPS."
 arch=('i686' 'x86_64')
 url="http://xdrawchem.sourceforge.net/"
 license=('GPL' 'LGPL' 'custom:ARTISTIC')
-depends=('qt3>=3.3.5' 'libpng' 'openbabel>=2.1.0' 'ghostscript')
-source=(http://downloads.sourceforge.net/sourceforge/xdrawchem/$pkgname-$pkgver.tar.gz license.html)
-md5sums=('6343d031b3ea19a6606831c89b8006b2' '8c2d33b5a049db65888d48d5de3f3523')
+depends=('qt3>=3.3.5' 'libpng' 'openbabel>=2.2.0' 'ghostscript')
+source=(http://downloads.sourceforge.net/sourceforge/xdrawchem/$pkgname-$pkgver.tar.gz 
+        xdrawchem-gcc43.patch 
+	license.html)
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd $srcdir/$pkgname-$pkgver
   . /etc/profile.d/qt3.sh
+  patch -Np1 -i ../xdrawchem-gcc43.patch || return 1
   ./configure --prefix=/usr --without-openbabel
         # openbabel is a separate pkg in archlinux
   make || return 1
-  make prefix=$startdir/pkg/usr install
-  install -D -m644 ../license.html $startdir/pkg/usr/share/licenses/$pkgname/license.html
+  make prefix=$pkgdir/usr install
+  install -D -m644 ../license.html $pkgdir/usr/share/licenses/$pkgname/license.html
 }
+md5sums=('6343d031b3ea19a6606831c89b8006b2'
+         '8b7bfba2430fb369ec05ab708bf605bc'
+         '8c2d33b5a049db65888d48d5de3f3523')




More information about the arch-commits mailing list