diff options
Diffstat (limited to 'extra/avogadro')
-rw-r--r-- | extra/avogadro/PKGBUILD | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/extra/avogadro/PKGBUILD b/extra/avogadro/PKGBUILD index bd8023903..3e20b8186 100644 --- a/extra/avogadro/PKGBUILD +++ b/extra/avogadro/PKGBUILD @@ -1,35 +1,23 @@ -# $Id: PKGBUILD 111981 2011-03-02 21:41:10Z andrea $ +# $Id: PKGBUILD 120742 2011-04-26 09:43:00Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Nick B <Shirakawasuna at gmail _dot_com> pkgname=avogadro -pkgver=1.0.1 -pkgrel=8 +pkgver=1.0.3 +pkgrel=1 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' 'python2-qt' 'boost-libs' 'glew' 'python2-numpy') makedepends=('cmake' 'boost') -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2" - 'sip-4.11.patch' - 'fix-pycapsule.patch') -md5sums=('0d5c391197101f0aab7be6b59f81e6fd' - 'e78c3f96d0dc702947f75de1c094f580' - '45b0f3be5913575311e92b74a5520966') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") +md5sums=('92c2702c1980f70fb6d87a1a58147911') build() { - cd ${srcdir}/${pkgname}-${pkgver} - patch -Np1 -i ${srcdir}/sip-4.11.patch - patch -Np1 -i ${srcdir}/fix-pycapsule.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 @@ -39,7 +27,4 @@ build() { package() { cd ${srcdir}/build make DESTDIR=${pkgdir} install - - install -Dm644 ${srcdir}/${pkgname}-${pkgver}/cmake/modules/FindAvogadro.cmake \ - ${pkgdir}/usr/share/cmake-2.8/Modules/FindAvogadro.cmake } |