Jakub Klinkovský pushed to branch main at Arch Linux / Packaging / Packages /
cgal
Commits:
0bf2e73d by Jakub Klinkovský at 2024-11-17T18:02:23+01:00
Add nvchecker.toml
- - - - -
ec6b046a by Jakub Klinkovský at 2024-11-17T18:20:57+01:00
Switch license to SPDX
- - - - -
bec551df by Jakub Klinkovský at 2024-11-17T18:24:11+01:00
upgpkg: 6.0.1-2: refactor build and package functions
- - - - -
3 changed files:
- .SRCINFO
- + .nvchecker.toml
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,11 @@
pkgbase = cgal
pkgdesc = Computational Geometry Algorithms Library
pkgver = 6.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://www.cgal.org
arch = any
- license = GPL
- license = LGPL
+ license = GPL-3.0-or-later
+ license = LGPL-3.0-or-later
makedepends = cmake
depends = boost
depends = eigen
=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,5 @@
+[cgal]
+source = "git"
+git = "https://github.com/CGAL/cgal.git"
+prefix = "v"
+exclude_regex = ".*(pre|rc|alpha|beta).*"
=====================================
PKGBUILD
=====================================
@@ -1,14 +1,15 @@
-# Maintainer: Kyle Keen <[email protected]>
# Maintainer: Bruno Pagani <[email protected]>
+# Maintainer: Jakub Klinkovský <lahwaacz at archlinux dot org>
# Contributor: Dmitriy Morozov <foxcub>
+# Contributor: Kyle Keen <[email protected]>
pkgname=cgal
pkgver=6.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Computational Geometry Algorithms Library"
arch=(any)
url="https://www.cgal.org"
-license=(GPL LGPL)
+license=(GPL-3.0-or-later LGPL-3.0-or-later)
depends=(boost eigen gmp mpfr)
makedepends=(cmake)
source=(https://github.com/CGAL/cgal/releases/download/v${pkgver}/CGAL-${pkgver}.tar.xz)
@@ -18,10 +19,10 @@
sha256sums=('0acdfbf317c556630dd526f3253780f29b6ec9713ee92903e81b5c93c0f59b7f')
build() {
cmake -B build -S CGAL-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr
- make -C build
+ cmake --build build
}
package() {
- make -C build DESTDIR="${pkgdir}" install
- rm -r "${pkgdir}"/usr/share
+ DESTDIR="$pkgdir" cmake --install build
+ mv "$pkgdir"/usr/share/doc/{CGAL,cgal}
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/cgal/-/compare/4daf1e59e971f1294410d3b4567d940e59057f18...bec551df3b636dcd5907711678dc43fe20eaa357
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/cgal/-/compare/4daf1e59e971f1294410d3b4567d940e59057f18...bec551df3b636dcd5907711678dc43fe20eaa357
You're receiving this email because of your account on gitlab.archlinux.org.