Date: Tuesday, November 22, 2022 @ 21:43:24
  Author: svenstaro
Revision: 1351896

archrelease: copy trunk to community-x86_64

Added:
  geogram/repos/community-x86_64/
  geogram/repos/community-x86_64/PKGBUILD
    (from rev 1351895, geogram/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: geogram/repos/community-x86_64/PKGBUILD (from rev 1351895, 
geogram/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2022-11-22 21:43:24 UTC (rev 1351896)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: bartus <arch-user-repoᘓbartus.33mail.com>
+pkgname=geogram
+pkgver=1.8.2
+pkgrel=1
+pkgdesc="Library of geometric algorithms"
+arch=('x86_64')
+url="https://github.com/BrunoLevy/geogram";
+license=('BSD')
+depends=('glu' 'glfw-x11')
+makedepends=('cmake' 'ninja')
+source=("https://github.com/BrunoLevy/geogram/releases/download/v${pkgver}/geogram_${pkgver}.tar.gz";)
+sha256sums=('d915de9f5315ce700895cb1817b9fa9ebf43eb31dbb3d0723c9355a3c3b4d441')
+
+build() {
+  cd ${pkgname}_${pkgver}
+
+  cmake \
+    -Bbuild \
+    -GNinja \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -DGEOGRAM_LIB_ONLY=ON \
+    -DGEOGRAM_USE_SYSTEM_GLFW3=ON
+
+  ninja -C build
+}
+
+package() {
+  cd ${pkgname}_${pkgver}
+
+  DESTDIR=${pkgdir} ninja -C build install
+  install -Dm755 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}

Reply via email to