diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 36 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7ec047947056 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = gudhi + pkgdesc = Geometry understanding in higher dimensions + pkgver = 3.0.0 + pkgrel = 1 + url = https://gudhi.inria.fr/ + arch = any + license = GPLv3 + depends = eigen + depends = cgal + depends = boost + options = !emptydirs + source = https://gforge.inria.fr/frs/download.php/file/38130/gudhi.3.0.0.tar.gz + sha256sums = 5bc0fabf0ddf3b3bb79a63b030f667f30e74ce7fafae2b85ad73f1a25447d0ac + +pkgname = gudhi + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..1a12109ec0b4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +A .SRCINFO +A PKGBUILD +*.tar.xz +*.tar.gz +src/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a3151ecdd7d0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley) +pkgname=gudhi +pkgver='3.0.0' +pkgrel=1 +pkgdesc="Geometry understanding in higher dimensions" +arch=(any) +url="https://gudhi.inria.fr/" +license=('GPLv3') +groups=() +depends=('eigen' 'cgal' 'boost') +makedepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +install= + +source=("https://gforge.inria.fr/frs/download.php/file/38130/${pkgname}.${pkgver}.tar.gz") +sha256sums=('5bc0fabf0ddf3b3bb79a63b030f667f30e74ce7fafae2b85ad73f1a25447d0ac') + +build() { + cd "${srcdir}/${pkgname}.${pkgver}" + mkdir -p build + cd build + cmake .. + make +} + +package() { + cd "${srcdir}/${pkgname}.${pkgver}/build" + make DESTDIR=${pkgdir}/usr install + cd "${srcdir}/${pkgname}.${pkgver}/build/python" + python setup.py install --root="$pkgdir/" --optimize=1 +} + |