Date: Saturday, November 19, 2016 @ 16:36:53 Author: arojas Revision: 281366
archrelease: copy trunk to extra-i686, extra-x86_64 Added: avogadrolibs/repos/extra-i686/PKGBUILD (from rev 281365, avogadrolibs/trunk/PKGBUILD) avogadrolibs/repos/extra-x86_64/PKGBUILD (from rev 281365, avogadrolibs/trunk/PKGBUILD) Deleted: avogadrolibs/repos/extra-i686/PKGBUILD avogadrolibs/repos/extra-x86_64/PKGBUILD -----------------------+ /PKGBUILD | 80 ++++++++++++++++++++++++++++++++++++++++++++++++ extra-i686/PKGBUILD | 35 --------------------- extra-x86_64/PKGBUILD | 35 --------------------- 3 files changed, 80 insertions(+), 70 deletions(-) Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2016-11-19 16:36:19 UTC (rev 281365) +++ extra-i686/PKGBUILD 2016-11-19 16:36:53 UTC (rev 281366) @@ -1,35 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> - -pkgname=avogadrolibs -pkgver=0.9.0 -pkgrel=1 -pkgdesc="An advanced molecular editor" -arch=(i686 x86_64) -url="http://www.openchemistry.org/" -license=(custom) -depends=(openbabel) -makedepends=(cmake eigen) -source=("http://downloads.sourceforge.net/project/avogadro/avogadro2/$pkgver/$pkgname-$pkgver.tar.gz") -md5sums=('af5c0a0c782cfa528d1c203840c69cf6') - -prepare() { - mkdir -p build - -# Fix GCC6 detection - sed -e 's|345|345678|g' -i $pkgname-$pkgver/cmake/GenerateExportHeader.cmake -} - -build() { - cd build - cmake ../$pkgname-$pkgver \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib - make -} - -package() { - cd build - make DESTDIR="$pkgdir" install - install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: avogadrolibs/repos/extra-i686/PKGBUILD (from rev 281365, avogadrolibs/trunk/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2016-11-19 16:36:53 UTC (rev 281366) @@ -0,0 +1,40 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=avogadrolibs +pkgver=0.9.0 +pkgrel=2 +pkgdesc="An advanced molecular editor" +arch=(i686 x86_64) +url="http://www.openchemistry.org/" +license=(custom) +depends=(openbabel qt5-base glew) +makedepends=(cmake eigen python2 boost) +source=("http://downloads.sourceforge.net/project/avogadro/avogadro2/$pkgver/$pkgname-$pkgver.tar.gz" + avogadrolibs-gcc6.patch::"https://github.com/OpenChemistry/molequeue/commit/5d57279d.patch") +md5sums=('af5c0a0c782cfa528d1c203840c69cf6' + 'd57372453ba647ea741b0efb7e50dc50') + +prepare() { + mkdir -p build + +# Fix GCC6 detection + cd $pkgname-$pkgver + patch -p1 -i ../avogadrolibs-gcc6.patch +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=ON \ + -DUSE_QT=ON \ + -DUSE_OPENGL=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2016-11-19 16:36:19 UTC (rev 281365) +++ extra-x86_64/PKGBUILD 2016-11-19 16:36:53 UTC (rev 281366) @@ -1,35 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> - -pkgname=avogadrolibs -pkgver=0.9.0 -pkgrel=1 -pkgdesc="An advanced molecular editor" -arch=(i686 x86_64) -url="http://www.openchemistry.org/" -license=(custom) -depends=(openbabel) -makedepends=(cmake eigen) -source=("http://downloads.sourceforge.net/project/avogadro/avogadro2/$pkgver/$pkgname-$pkgver.tar.gz") -md5sums=('af5c0a0c782cfa528d1c203840c69cf6') - -prepare() { - mkdir -p build - -# Fix GCC6 detection - sed -e 's|345|345678|g' -i $pkgname-$pkgver/cmake/GenerateExportHeader.cmake -} - -build() { - cd build - cmake ../$pkgname-$pkgver \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib - make -} - -package() { - cd build - make DESTDIR="$pkgdir" install - install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: avogadrolibs/repos/extra-x86_64/PKGBUILD (from rev 281365, avogadrolibs/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2016-11-19 16:36:53 UTC (rev 281366) @@ -0,0 +1,40 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=avogadrolibs +pkgver=0.9.0 +pkgrel=2 +pkgdesc="An advanced molecular editor" +arch=(i686 x86_64) +url="http://www.openchemistry.org/" +license=(custom) +depends=(openbabel qt5-base glew) +makedepends=(cmake eigen python2 boost) +source=("http://downloads.sourceforge.net/project/avogadro/avogadro2/$pkgver/$pkgname-$pkgver.tar.gz" + avogadrolibs-gcc6.patch::"https://github.com/OpenChemistry/molequeue/commit/5d57279d.patch") +md5sums=('af5c0a0c782cfa528d1c203840c69cf6' + 'd57372453ba647ea741b0efb7e50dc50') + +prepare() { + mkdir -p build + +# Fix GCC6 detection + cd $pkgname-$pkgver + patch -p1 -i ../avogadrolibs-gcc6.patch +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=ON \ + -DUSE_QT=ON \ + -DUSE_OPENGL=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}