Date: Monday, August 29, 2022 @ 20:58:09 Author: arojas Revision: 454744
archrelease: copy trunk to extra-x86_64 Added: openbabel/repos/extra-x86_64/PKGBUILD (from rev 454743, openbabel/trunk/PKGBUILD) Deleted: openbabel/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-29 20:58:01 UTC (rev 454743) +++ PKGBUILD 2022-08-29 20:58:09 UTC (rev 454744) @@ -1,45 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Damir Perisa <damir.per...@bluewin.ch> - -pkgbase=openbabel -pkgname=(openbabel python-openbabel) -pkgver=3.1.1 -pkgrel=4 -pkgdesc='A library designed to interconvert between many file formats used in molecular modeling and computational chemistry' -arch=(x86_64) -url='https://openbabel.org/wiki/Main_Page' -license=(GPL) -makedepends=(cmake eigen wxwidgets-gtk3 boost python swig maeparser rapidjson coordgen) -source=(https://github.com/openbabel/openbabel/releases/download/openbabel-${pkgver//./-}/openbabel-$pkgver-source.tar.bz2 - https://github.com/openbabel/openbabel/commit/c0570bfe.patch) -sha256sums=('a6ec8381d59ea32a4b241c8b1fbd799acb52be94ab64cdbd72506fb4e2270e68' - '70e16fe1ae60806ef1a022e6b768e9ebd0b1d832d052d4ceea30cbb76354ca7c') - -prepare() { - patch -d openbabel-$pkgver -p1 < c0570bfe.patch # Fix build with GCC 12 -} - -build() { - cmake -B build -S openbabel-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DRUN_SWIG=ON \ - -DPYTHON_BINDINGS=ON - cmake --build build - - # To split python bindings - sed -i '/scripts.cmake_install.cmake/d' build/cmake_install.cmake -} - -package_openbabel() { - depends=(libxml2 libsm coordgen) - optdepends=('wxwidgets-gtk3: GUI interface') - - DESTDIR="$pkgdir" cmake --install build -} - -package_python-openbabel() { - depends=(python openbabel) - - DESTDIR="$pkgdir" cmake --install build/scripts -} Copied: openbabel/repos/extra-x86_64/PKGBUILD (from rev 454743, openbabel/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-29 20:58:09 UTC (rev 454744) @@ -0,0 +1,45 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Damir Perisa <damir.per...@bluewin.ch> + +pkgbase=openbabel +pkgname=(openbabel python-openbabel) +pkgver=3.1.1 +pkgrel=5 +pkgdesc='A library designed to interconvert between many file formats used in molecular modeling and computational chemistry' +arch=(x86_64) +url='https://openbabel.org/wiki/Main_Page' +license=(GPL) +makedepends=(cmake eigen wxwidgets-gtk3 boost python swig maeparser rapidjson coordgen) +source=(https://github.com/openbabel/openbabel/releases/download/openbabel-${pkgver//./-}/openbabel-$pkgver-source.tar.bz2 + https://github.com/openbabel/openbabel/commit/c0570bfe.patch) +sha256sums=('a6ec8381d59ea32a4b241c8b1fbd799acb52be94ab64cdbd72506fb4e2270e68' + '70e16fe1ae60806ef1a022e6b768e9ebd0b1d832d052d4ceea30cbb76354ca7c') + +prepare() { + patch -d openbabel-$pkgver -p1 < c0570bfe.patch # Fix build with GCC 12 +} + +build() { + cmake -B build -S openbabel-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DRUN_SWIG=ON \ + -DPYTHON_BINDINGS=ON + cmake --build build + + # To split python bindings + sed -i '/scripts.cmake_install.cmake/d' build/cmake_install.cmake +} + +package_openbabel() { + depends=(libxml2 libsm coordgen) + optdepends=('wxwidgets-gtk3: GUI interface') + + DESTDIR="$pkgdir" cmake --install build +} + +package_python-openbabel() { + depends=(python openbabel) + + DESTDIR="$pkgdir" cmake --install build/scripts +}