[arch-commits] Commit in forge/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Jul 28 01:56:36 UTC 2020


    Date: Tuesday, July 28, 2020 @ 01:56:35
  Author: svenstaro
Revision: 665596

upgpkg: forge 2:1.0.5-1

Modified:
  forge/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-28 01:31:51 UTC (rev 665595)
+++ PKGBUILD	2020-07-28 01:56:35 UTC (rev 665596)
@@ -1,30 +1,28 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
 pkgname=forge
 pkgdesc="High Performance Visualizations"
 url='https://github.com/arrayfire/forge'
-pkgver=1.0.4
+pkgver=1.0.5
 arch=('x86_64')
-pkgrel=2
+pkgrel=1
 epoch=2
 license=('BSD')
-makedepends=('cmake' 'doxygen' 'graphviz' 'git' 'python' 'glm' 'boost')
 depends=('glfw' 'freetype2' 'fontconfig' 'freeimage' 'glbinding')
-source=(https://github.com/arrayfire/forge/archive/v${pkgver}.tar.gz)
-sha512sums=('fd48375713c8c6646a8d4fa140e8a4b631e697c5f011656a0ca4c15c8288b47bfe1826c6cfa65c8f146a7b9dcd146058502a099e9477f92481cbc62556660ccd')
+makedepends=('cmake' 'graphviz' 'git' 'python' 'glm' 'boost')
+source=($pkgname-$pkgver.tar.gz::https://github.com/arrayfire/forge/archive/v${pkgver}.tar.gz)
+sha512sums=('01dc17f202bc79734bb997065c8cbc8d950204a47f979afddd8df14e40774dc712ecb7c34b11f0e312b1598fcbc9d25dd0bb089956d86508aac5b10fe1789fc3')
 options=('!buildflags')
 
 build() {
   cd forge-${pkgver}
 
-  rm -rf build
-  mkdir build && cd build
-
-  cmake .. \
+  cmake . \
+      -Bbuild \
       -DCMAKE_INSTALL_PREFIX=/usr \
-      -DBUILD_EXAMPLES=ON \
-      -DBUILD_DOCUMENTATION=ON
+      -DFG_BUILD_EXAMPLES=ON \
+      -DFG_BUILD_DOCS=OFF
 
-  make
+  make -C build
 }
 
 package() {
@@ -32,7 +30,5 @@
 
   install -Dm644 .github/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 
-  cd build
-
-  make DESTDIR="${pkgdir}/" install
+  DESTDIR="${pkgdir}/" make -C build install
 }



More information about the arch-commits mailing list