[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Dec 20 10:39:37 UTC 2017


    Date: Wednesday, December 20, 2017 @ 10:39:36
  Author: svenstaro
Revision: 274989

Move range-v3 from AUR

Added:
  range-v3/
  range-v3/repos/
  range-v3/trunk/
  range-v3/trunk/PKGBUILD

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

Added: range-v3/trunk/PKGBUILD
===================================================================
--- range-v3/trunk/PKGBUILD	                        (rev 0)
+++ range-v3/trunk/PKGBUILD	2017-12-20 10:39:36 UTC (rev 274989)
@@ -0,0 +1,21 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: hexchain <i at hexchain.org>
+
+pkgname=range-v3
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Experimental range library for C++11/14/17"
+arch=('any')
+url='https://github.com/ericniebler/range-v3'
+license=('custom')
+makedepends=('git')
+source=("https://github.com/ericniebler/range-v3/archive/${pkgver}.tar.gz")
+sha512sums=('6c3904b486b0b42f360e226dba74efcfa14a9ff2906757b249d956fd1797a38a0fac9bcc912068b49a793b418f60d07ffe6eedf2b1f904d8b8302dbb1b2d0648')
+
+package() {
+    cd range-v3-${pkgver}
+    mkdir -p "$pkgdir/usr/include"
+    cp -rv --no-preserve=ownership "include/"* "$pkgdir/usr/include"
+    # install custom license
+    install -Dm644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list