summaryrefslogtreecommitdiff
path: root/extra/avogadro/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/avogadro/PKGBUILD')
-rw-r--r--extra/avogadro/PKGBUILD26
1 files changed, 7 insertions, 19 deletions
diff --git a/extra/avogadro/PKGBUILD b/extra/avogadro/PKGBUILD
index a1124e1d6..d85caecac 100644
--- a/extra/avogadro/PKGBUILD
+++ b/extra/avogadro/PKGBUILD
@@ -1,34 +1,22 @@
-# $Id: PKGBUILD 163702 2012-07-18 01:05:05Z ibiru $
+# $Id: PKGBUILD 168030 2012-10-05 13:24:09Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
pkgname=avogadro
-pkgver=1.0.3
-pkgrel=6
+pkgver=1.1.0
+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=('eigen2' 'openbabel' 'python2-pyqt' 'boost-libs' 'glew' 'python2-numpy')
-makedepends=('cmake' 'boost')
+makedepends=('cmake' 'boost' 'doxygen')
install=avogadro.install
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- 'replace-qt4_automoc-with-qt4_wrap_cpp.patch'
- 'fix-boost.patch'
- 'fix-opengl-headers.patch')
-md5sums=('92c2702c1980f70fb6d87a1a58147911'
- 'aec516daab066c15326a9681f8f15abc'
- '46282e4709429447e44a0a54d51ad2ec'
- 'f420bfd22e3d5d8fcddc625cf5e711f6')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('f4fbef5ffc69cc312b2316426c36a78d')
build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
- patch -p1 -i "${srcdir}"/replace-qt4_automoc-with-qt4_wrap_cpp.patch
- patch -p1 -i "${srcdir}"/fix-boost.patch
- patch -p1 -i "${srcdir}"/fix-opengl-headers.patch
-
- cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -40,6 +28,6 @@ build() {
}
package() {
- cd "${srcdir}/build"
+ cd build
make DESTDIR="${pkgdir}" install
}