Commit d1dff86c authored by Manuel's avatar Manuel

Avogradro needs rebuild for kalzium

parent e2f09271
......@@ -8,21 +8,31 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=avogadro
pkgver=1.0.1
pkgrel=1
pkgrel=2
pkgdesc="An advanced molecular editor based on Qt"
arch=('i686' 'x86_64')
url="http://avogadro.openmolecules.net/wiki/Main_Page"
license=('GPL2')
depends=('eigen' 'openbabel' 'pyqt' 'boost' 'glew' 'python-numpy')
makedepends=('cmake' 'boost')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('0d5c391197101f0aab7be6b59f81e6fd')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'sip-4.11.patch')
md5sums=('0d5c391197101f0aab7be6b59f81e6fd'
'9cf01a9523a0e948b25cfa9598b1fdd3')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np0 -i ${srcdir}/sip-4.11.patch
cd ${srcdir}
mkdir build
cd build
# use the cmake module in system to enable python 2.7 support
rm ../${pkgname}-${pkgver}/cmake/modules/FindPythonLibs.cmake
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
......@@ -32,4 +42,4 @@ build() {
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
\ No newline at end of file
}
......@@ -34,4 +34,4 @@ build() {
package() {
cd $srcdir/build
make DESTDIR=$pkgdir install
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment