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

Jelle van der Waa jelle at archlinux.org
Mon Aug 3 19:20:18 UTC 2020


    Date: Monday, August 3, 2020 @ 19:20:18
  Author: jelle
Revision: 668436

Fix FS#67465 and FS#67466

Switch to boost license in licenses as the licenses package provides it and set
VERSION define to dump the version in the pkgconf file.

Modified:
  polyclipping/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-03 18:32:21 UTC (rev 668435)
+++ PKGBUILD	2020-08-03 19:20:18 UTC (rev 668436)
@@ -2,11 +2,11 @@
 
 pkgname=polyclipping
 pkgver=6.4.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Polygon clipping library"
 arch=('x86_64')
 url="https://sourceforge.net/projects/polyclipping/"
-license=('custom')
+license=('Boost')
 depends=('gcc-libs')
 makedepends=('cmake')
 source=("https://downloads.sourceforge.net/polyclipping/clipper_ver${pkgver}.zip")
@@ -15,7 +15,7 @@
 build() {
   cd "${srcdir}"
   mkdir -p build && cd build
-  cmake -DCMAKE_INSTALL_PREFIX=/usr ../cpp
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DVERSION=$pkgver ../cpp
   make
 }
 
@@ -23,7 +23,4 @@
   cd "${srcdir}/build"
   make install DESTDIR="$pkgdir"
   install -d "$pkgdir/usr/share/licenses/$pkgname"
-
-  cd "${srcdir}"
-  install -Dm644 License.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list