Date: Sunday, January 8, 2023 @ 11:44:46 Author: svenstaro Revision: 1381994
archrelease: copy trunk to community-x86_64 Added: opengv/repos/community-x86_64/PKGBUILD (from rev 1381993, opengv/trunk/PKGBUILD) Deleted: opengv/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-01-08 11:44:37 UTC (rev 1381993) +++ PKGBUILD 2023-01-08 11:44:46 UTC (rev 1381994) @@ -1,50 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenst...@archlinux.org> -pkgname=opengv -pkgver=1.0.git1 -_commit=91f4b19 -pkgrel=1 -pkgdesc="An efficient C++ library for calibrated camera pose computation using geometric computer vision algorithms" -arch=('x86_64') -url="https://laurentkneip.github.io/opengv/" -license=('BSD') -depends=('boost-libs' 'eigen' 'python-numpy') -makedepends=('boost' 'cmake' 'git' 'ninja') -source=("git+https://github.com/laurentkneip/opengv.git#commit=$_commit" - "git+https://github.com/pybind/pybind11.git") -sha256sums=('SKIP' - 'SKIP') - -prepare() { - cd opengv - - git submodule init - git config submodule.pybind11.url "${srcdir}/pybind11" - git submodule update -} - -build() { - cd opengv - - cmake \ - -Bbuild \ - -GNinja \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_SHARED_LIBS=ON \ - -DBUILD_PYTHON=ON - ninja -C build -} - -package() { - cd opengv - - DESTDIR="$pkgdir/" ninja -C build install - - install -Dm644 License.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -check() { - cd opengv - - ninja -C build test -} Copied: opengv/repos/community-x86_64/PKGBUILD (from rev 1381993, opengv/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-01-08 11:44:46 UTC (rev 1381994) @@ -0,0 +1,50 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@archlinux.org> +pkgname=opengv +pkgver=1.0.git1 +_commit=91f4b19 +pkgrel=2 +pkgdesc="An efficient C++ library for calibrated camera pose computation using geometric computer vision algorithms" +arch=('x86_64') +url="https://laurentkneip.github.io/opengv/" +license=('BSD') +depends=('eigen' 'python-numpy') +makedepends=('cmake' 'git' 'ninja') +source=("git+https://github.com/laurentkneip/opengv.git#commit=$_commit" + "git+https://github.com/pybind/pybind11.git") +sha256sums=('SKIP' + 'SKIP') + +prepare() { + cd opengv + + git submodule init + git config submodule.pybind11.url "${srcdir}/pybind11" + git submodule update +} + +build() { + cd opengv + + cmake \ + -Bbuild \ + -GNinja \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_SHARED_LIBS=ON \ + -DBUILD_PYTHON=ON + ninja -C build +} + +package() { + cd opengv + + DESTDIR="$pkgdir/" ninja -C build install + + install -Dm644 License.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +check() { + cd opengv + + ninja -C build test +}