[arch-commits] Commit in alglib/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Sat Jan 25 13:52:29 UTC 2020


    Date: Saturday, January 25, 2020 @ 13:52:29
  Author: jlichtblau
Revision: 555448

archrelease: copy trunk to community-x86_64

Added:
  alglib/repos/community-x86_64/PKGBUILD
    (from rev 555447, alglib/trunk/PKGBUILD)
Deleted:
  alglib/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-25 13:52:21 UTC (rev 555447)
+++ PKGBUILD	2020-01-25 13:52:29 UTC (rev 555448)
@@ -1,66 +0,0 @@
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: Aetf <aetf at unlimitedcodeworks dot xyz>
-# Contributor: Lex Black <autumn-wind at web dot de>
-# Contributor: Peng Zhang <pczhang at gmail.com>
-
-pkgname=alglib
-pkgver=3.15.0
-pkgrel=2
-pkgdesc="A cross-platform numerical analysis and data processing library - Free Version"
-arch=('x86_64')
-url="http://www.alglib.net"
-license=('GPL2')
-makedepends=('cmake')
-source=(http://www.alglib.net/translator/re/alglib-${pkgver}.cpp.gpl.tgz)
-sha256sums=('55435decad45f4b5acdc9651f40c6e9f99a4f148c983e0e4370c9f23bf3329f9')
-
-prepare() {
-    cd "${srcdir}"/cpp
-
-# generate a simple cmake file to build the library since the release
-# doesn't provide any build system
-    
-    cat > CMakeLists.txt <<END
-cmake_minimum_required(VERSION 3.0)
-project(alglib VERSION ${pkgver})
-
-file(GLOB SRCS src/*.cpp)
-file(GLOB HEADERS src/*.h)
-
-add_library(alglib_static STATIC \${SRCS})
-set_target_properties(alglib_static PROPERTIES
-    OUTPUT_NAME alglib
-    PUBLIC_HEADER "\${HEADERS}"
-)
-
-add_library(alglib SHARED \${SRCS})
-set_target_properties(alglib PROPERTIES
-    VERSION "\${PROJECT_VERSION}"
-    SOVERSION "\${PROJECT_VERSION_MAJOR}"
-    PUBLIC_HEADER "\${HEADERS}"
-)
-
-include(GNUInstallDirs)
-install(TARGETS alglib alglib_static
-    LIBRARY DESTINATION "\${CMAKE_INSTALL_LIBDIR}"
-    ARCHIVE DESTINATION "\${CMAKE_INSTALL_LIBDIR}"
-    PUBLIC_HEADER DESTINATION "\${CMAKE_INSTALL_INCLUDEDIR}/libalglib"
-)
-install(FILES manual.cpp.html DESTINATION "\${CMAKE_INSTALL_DOCDIR}")
-END
-
-    mkdir -p build
-}
-
-build() {
-    cd "${srcdir}"/cpp/build
-
-    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib ..
-    make VERBOSE=1
-}
-
-package() {
-    cd "${srcdir}"/cpp/build
-    
-    make DESTDIR="${pkgdir}" install
-}

Copied: alglib/repos/community-x86_64/PKGBUILD (from rev 555447, alglib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-25 13:52:29 UTC (rev 555448)
@@ -0,0 +1,66 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Aetf <aetf at unlimitedcodeworks dot xyz>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: Peng Zhang <pczhang at gmail.com>
+
+pkgname=alglib
+pkgver=3.16.0
+pkgrel=1
+pkgdesc="A cross-platform numerical analysis and data processing library - Free Version"
+arch=('x86_64')
+url="http://www.alglib.net"
+license=('GPL2')
+makedepends=('cmake')
+source=(http://www.alglib.net/translator/re/alglib-${pkgver}.cpp.gpl.tgz)
+sha256sums=('41fa15d25f7332f357ebecdec3e5370619361365b469b6c92401fec059b69867')
+
+prepare() {
+    cd "${srcdir}"/cpp
+
+# generate a simple cmake file to build the library since the release
+# doesn't provide any build system
+    
+    cat > CMakeLists.txt <<END
+cmake_minimum_required(VERSION 3.0)
+project(alglib VERSION ${pkgver})
+
+file(GLOB SRCS src/*.cpp)
+file(GLOB HEADERS src/*.h)
+
+add_library(alglib_static STATIC \${SRCS})
+set_target_properties(alglib_static PROPERTIES
+    OUTPUT_NAME alglib
+    PUBLIC_HEADER "\${HEADERS}"
+)
+
+add_library(alglib SHARED \${SRCS})
+set_target_properties(alglib PROPERTIES
+    VERSION "\${PROJECT_VERSION}"
+    SOVERSION "\${PROJECT_VERSION_MAJOR}"
+    PUBLIC_HEADER "\${HEADERS}"
+)
+
+include(GNUInstallDirs)
+install(TARGETS alglib alglib_static
+    LIBRARY DESTINATION "\${CMAKE_INSTALL_LIBDIR}"
+    ARCHIVE DESTINATION "\${CMAKE_INSTALL_LIBDIR}"
+    PUBLIC_HEADER DESTINATION "\${CMAKE_INSTALL_INCLUDEDIR}/libalglib"
+)
+install(FILES manual.cpp.html DESTINATION "\${CMAKE_INSTALL_DOCDIR}")
+END
+
+    mkdir -p build
+}
+
+build() {
+    cd "${srcdir}"/cpp/build
+
+    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib ..
+    make VERBOSE=1
+}
+
+package() {
+    cd "${srcdir}"/cpp/build
+    
+    make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list