summaryrefslogtreecommitdiff
path: root/extra/avogadro
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
committerroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
commit18d6577d511b9a1ac36eaae50060133a401e42a3 (patch)
treef681f9444a7a0a95916de40af82d3b805d5fb8d3 /extra/avogadro
parent69e1fada8bdc9588d0a3d8bc3403fa809d809a84 (diff)
Wed Apr 27 22:24:53 UTC 2011
Diffstat (limited to 'extra/avogadro')
-rw-r--r--extra/avogadro/PKGBUILD25
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
}