mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
28 lines
1.2 KiB
Bash
28 lines
1.2 KiB
Bash
# $Id: PKGBUILD 45079 2009-07-06 23:55:12Z eric $
|
|
# Maintainer: Damir Perisa <damir.perisa@bluewin.ch>
|
|
|
|
pkgname=xdrawchem
|
|
pkgver=1.9.9
|
|
pkgrel=6
|
|
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.2.0' 'ghostscript' 'libjpeg>=7')
|
|
source=(http://downloads.sourceforge.net/sourceforge/xdrawchem/$pkgname-$pkgver.tar.gz
|
|
xdrawchem-gcc43.patch
|
|
license.html)
|
|
|
|
build() {
|
|
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=$pkgdir/usr install
|
|
install -D -m644 ../license.html $pkgdir/usr/share/licenses/$pkgname/license.html
|
|
}
|
|
md5sums=('6343d031b3ea19a6606831c89b8006b2'
|
|
'8b7bfba2430fb369ec05ab708bf605bc'
|
|
'8c2d33b5a049db65888d48d5de3f3523')
|