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

Jelle van der Waa jelle at archlinux.org
Wed Jul 31 14:37:37 UTC 2019


    Date: Wednesday, July 31, 2019 @ 14:37:36
  Author: jelle
Revision: 495551

archrelease: copy trunk to community-x86_64

Added:
  clipper/repos/community-x86_64/
  clipper/repos/community-x86_64/PKGBUILD
    (from rev 495550, clipper/trunk/PKGBUILD)

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

Copied: clipper/repos/community-x86_64/PKGBUILD (from rev 495550, clipper/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-07-31 14:37:36 UTC (rev 495551)
@@ -0,0 +1,32 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=clipper
+pkgver=6.4.2
+pkgrel=1
+url="https://sourceforge.net/projects/polyclipping/"
+arch=('x86_64')
+license=('custom')
+pkgdesc='Polygon and line clipping and offsetting library'
+depends=(gcc-libs)
+makedepends=(cmake)
+source=(https://sourceforge.net/projects/polyclipping/files/clipper_ver$pkgver.zip)
+sha512sums=('ffc88818c44a38aa278d5010db6cfd505796f39664919f1e48c7fa9267563f62135868993e88f7246dcd688241d1172878e4a008a390648acb99738452e3e5dd')
+
+prepare() {
+  mkdir cpp/build
+}
+
+build() {
+  cd cpp/build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+  ..
+
+  make 
+}
+
+package() {
+  install -Dm644 License.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+  cd cpp/build
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list