[arch-commits] Commit in openbabel/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Dec 25 18:43:21 UTC 2016
Date: Sunday, December 25, 2016 @ 18:43:20
Author: felixonmars
Revision: 284770
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
openbabel/repos/staging-i686/
openbabel/repos/staging-i686/PKGBUILD
(from rev 284769, openbabel/trunk/PKGBUILD)
openbabel/repos/staging-x86_64/
openbabel/repos/staging-x86_64/PKGBUILD
(from rev 284769, openbabel/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
Copied: openbabel/repos/staging-i686/PKGBUILD (from rev 284769, openbabel/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-12-25 18:43:20 UTC (rev 284770)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+
+pkgbase=openbabel
+pkgname=(openbabel python-openbabel)
+pkgver=2.4.1
+pkgrel=3
+pkgdesc="A library designed to interconvert between many file formats used in molecular modeling and computational chemistry"
+arch=('i686' 'x86_64')
+url="http://openbabel.org/wiki/Main_Page"
+license=('GPL')
+makedepends=('cmake' 'eigen' 'wxgtk2.8' 'boost' 'python')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('d9defcd7830b0592fece4fe54a137b99')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ export CXXFLAGS+=' -std=gnu++98'
+ cmake ../openbabel-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-2.8 \
+ -DPYTHON_BINDINGS=ON
+ make
+
+ # To split python bindings
+ sed -i '/scripts.cmake_install.cmake/d' cmake_install.cmake
+}
+
+package_openbabel() {
+ depends=('libxml2' 'libsm')
+ optdepends=('wxgtk2.8: GUI interface')
+
+ cd build
+ make DESTDIR="$pkgdir" install
+}
+
+package_python-openbabel() {
+ depends=('python' 'openbabel')
+
+ cd build/scripts
+ make DESTDIR="$pkgdir" install
+}
Copied: openbabel/repos/staging-x86_64/PKGBUILD (from rev 284769, openbabel/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-12-25 18:43:20 UTC (rev 284770)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+
+pkgbase=openbabel
+pkgname=(openbabel python-openbabel)
+pkgver=2.4.1
+pkgrel=3
+pkgdesc="A library designed to interconvert between many file formats used in molecular modeling and computational chemistry"
+arch=('i686' 'x86_64')
+url="http://openbabel.org/wiki/Main_Page"
+license=('GPL')
+makedepends=('cmake' 'eigen' 'wxgtk2.8' 'boost' 'python')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('d9defcd7830b0592fece4fe54a137b99')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ export CXXFLAGS+=' -std=gnu++98'
+ cmake ../openbabel-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-2.8 \
+ -DPYTHON_BINDINGS=ON
+ make
+
+ # To split python bindings
+ sed -i '/scripts.cmake_install.cmake/d' cmake_install.cmake
+}
+
+package_openbabel() {
+ depends=('libxml2' 'libsm')
+ optdepends=('wxgtk2.8: GUI interface')
+
+ cd build
+ make DESTDIR="$pkgdir" install
+}
+
+package_python-openbabel() {
+ depends=('python' 'openbabel')
+
+ cd build/scripts
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list