[arch-commits] Commit in libcerf/repos/extra-x86_64 (3 files)
Date: Tuesday, June 29, 2021 @ 15:03:47 Author: arojas Revision: 418777 archrelease: copy trunk to extra-x86_64 Added: libcerf/repos/extra-x86_64/PKGBUILD (from rev 418776, libcerf/trunk/PKGBUILD) Deleted: libcerf/repos/extra-x86_64/PKGBUILD libcerf/repos/extra-x86_64/pc-install-dir.patch --+ PKGBUILD | 58 + pc-install-dir.patch | 13 -- 2 files changed, 26 insertions(+), 45 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-29 15:03:36 UTC (rev 418776) +++ PKGBUILD2021-06-29 15:03:47 UTC (rev 418777) @@ -1,32 +0,0 @@ -# Maintainer: Antonio Rojas - -pkgname=libcerf -epoch=1 -pkgver=1.16 -pkgrel=1 -pkgdesc='Self-contained numeric library that provides an efficient and accurate implementation of complex error functions' -arch=(x86_64) -url='https://jugit.fz-juelich.de/mlz/libcerf/' -license=(custom) -depends=(glibc) -makedepends=(cmake) -source=(https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v$pkgver/libcerf-v$pkgver.tar.gz -pc-install-dir.patch) -sha256sums=('f24cfe72716e008ebe94376e2fb08cf9f6d982a430e0688e2f1af82da51e6d2d' -'7605dfbe028efc37ad63eac35c70260283908c21c51030283576d0439d8b82f7') - -prepare() { - patch -d $pkgname-v$pkgver -p1 < pc-install-dir.patch # Fix pc file install dir -} - -build() { - cmake -B build -S $pkgname-v$pkgver \ --DCMAKE_INSTALL_PREFIX=/usr - cmake --build build -} - -package() { - DESTDIR="$pkgdir" cmake --install build - - install -Dm644 $pkgname-v$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: libcerf/repos/extra-x86_64/PKGBUILD (from rev 418776, libcerf/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-29 15:03:47 UTC (rev 418777) @@ -0,0 +1,26 @@ +# Maintainer: Antonio Rojas + +pkgname=libcerf +epoch=1 +pkgver=1.17 +pkgrel=1 +pkgdesc='Self-contained numeric library that provides an efficient and accurate implementation of complex error functions' +arch=(x86_64) +url='https://jugit.fz-juelich.de/mlz/libcerf/' +license=(custom) +depends=(glibc) +makedepends=(cmake) +source=(https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v$pkgver/libcerf-v$pkgver.tar.gz) +sha256sums=('b1916b292cb37f2d0d0b699fbcf0fe260cca97ec7266ea20ff0c5cd8ef2eaab4') + +build() { + cmake -B build -S $pkgname-v$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + install -Dm644 $pkgname-v$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname +} Deleted: pc-install-dir.patch === --- pc-install-dir.patch2021-06-29 15:03:36 UTC (rev 418776) +++ pc-install-dir.patch2021-06-29 15:03:47 UTC (rev 418777) @@ -1,13 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 726436b..8e3a5c2 100644 a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -75,7 +75,7 @@ include(CTest) - - configure_file("libcerf.pc.in" "libcerf.pc" @ONLY) - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libcerf.pc" --DESTINATION "${CMAKE_INSTALL_PREFIX}/pkgconfig/") -+DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig/") - - add_subdirectory(lib) - add_subdirectory(test)
[arch-commits] Commit in libcerf/repos/extra-x86_64 (3 files)
Date: Thursday, June 10, 2021 @ 16:03:50 Author: arojas Revision: 417888 archrelease: copy trunk to extra-x86_64 Added: libcerf/repos/extra-x86_64/PKGBUILD (from rev 417887, libcerf/trunk/PKGBUILD) libcerf/repos/extra-x86_64/pc-install-dir.patch (from rev 417887, libcerf/trunk/pc-install-dir.patch) Deleted: libcerf/repos/extra-x86_64/PKGBUILD --+ PKGBUILD | 58 +++-- pc-install-dir.patch | 13 ++ 2 files changed, 45 insertions(+), 26 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-10 16:03:39 UTC (rev 417887) +++ PKGBUILD2021-06-10 16:03:50 UTC (rev 417888) @@ -1,26 +0,0 @@ -# Maintainer: Antonio Rojas - -pkgname=libcerf -epoch=1 -pkgver=1.14 -pkgrel=1 -pkgdesc="Self-contained numeric library that provides an efficient and accurate implementation of complex error functions" -arch=(x86_64) -url="https://jugit.fz-juelich.de/mlz/libcerf/; -license=(custom) -depends=(glibc) -makedepends=(cmake) -source=(https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v$pkgver/libcerf-v$pkgver.tar.gz) -sha256sums=('065346b3360943c9961517f8c49ae13fe956835f6fc3b53e9d307e41feec3a34') - -build() { - cmake -B build -S $pkgname-v$pkgver \ --DCMAKE_INSTALL_PREFIX=/usr - cmake --build build -} - -package() { - DESTDIR="$pkgdir" cmake --install build - - install -Dm644 $pkgname-v$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: libcerf/repos/extra-x86_64/PKGBUILD (from rev 417887, libcerf/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-10 16:03:50 UTC (rev 417888) @@ -0,0 +1,32 @@ +# Maintainer: Antonio Rojas + +pkgname=libcerf +epoch=1 +pkgver=1.15 +pkgrel=1 +pkgdesc='Self-contained numeric library that provides an efficient and accurate implementation of complex error functions' +arch=(x86_64) +url='https://jugit.fz-juelich.de/mlz/libcerf/' +license=(custom) +depends=(glibc) +makedepends=(cmake) +source=(https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v$pkgver/libcerf-v$pkgver.tar.gz +pc-install-dir.patch) +sha256sums=('a5d45475e08d431267fd29d6af987a9dd9b6792578ec3feb466d4d21f2844868' +'7605dfbe028efc37ad63eac35c70260283908c21c51030283576d0439d8b82f7') + +prepare() { + patch -d $pkgname-v$pkgver -p1 < pc-install-dir.patch # Fix pc file install dir +} + +build() { + cmake -B build -S $pkgname-v$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + install -Dm644 $pkgname-v$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname +} Copied: libcerf/repos/extra-x86_64/pc-install-dir.patch (from rev 417887, libcerf/trunk/pc-install-dir.patch) === --- pc-install-dir.patch(rev 0) +++ pc-install-dir.patch2021-06-10 16:03:50 UTC (rev 417888) @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 726436b..8e3a5c2 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -75,7 +75,7 @@ include(CTest) + + configure_file("libcerf.pc.in" "libcerf.pc" @ONLY) + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libcerf.pc" +-DESTINATION "${CMAKE_INSTALL_PREFIX}/pkgconfig/") ++DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig/") + + add_subdirectory(lib) + add_subdirectory(test)