[arch-commits] Commit in polyclipping/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:08:38 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:08:38
  Author: felixonmars
Revision: 660003

archrelease: copy trunk to community-staging-x86_64

Added:
  polyclipping/repos/community-staging-x86_64/
  polyclipping/repos/community-staging-x86_64/PKGBUILD
    (from rev 660001, polyclipping/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: polyclipping/repos/community-staging-x86_64/PKGBUILD (from rev 660001, polyclipping/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 18:08:38 UTC (rev 660003)
@@ -0,0 +1,29 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=polyclipping
+pkgver=6.4.2
+pkgrel=3
+pkgdesc="Polygon clipping library"
+arch=('x86_64')
+url="https://sourceforge.net/projects/polyclipping/"
+license=('custom')
+depends=('gcc-libs')
+makedepends=('cmake')
+source=("https://downloads.sourceforge.net/polyclipping/clipper_ver${pkgver}.zip")
+sha256sums=('a14320d82194807c4480ce59c98aa71cd4175a5156645c4e2b3edd330b930627')
+
+build() {
+  cd "${srcdir}"
+  mkdir -p build && cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr ../cpp
+  make
+}
+
+package() {
+  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