[arch-commits] Commit in gyp/repos (extra-any extra-any/PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Jun 9 10:41:19 UTC 2017


    Date: Friday, June 9, 2017 @ 10:41:18
  Author: heftig
Revision: 298466

archrelease: copy trunk to extra-any

Added:
  gyp/repos/extra-any/
  gyp/repos/extra-any/PKGBUILD
    (from rev 298465, gyp/trunk/PKGBUILD)

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

Copied: gyp/repos/extra-any/PKGBUILD (from rev 298465, gyp/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2017-06-09 10:41:18 UTC (rev 298466)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gyp
+pkgver=20170609
+pkgrel=1
+pkgdesc='"Generate Your Projects" Meta-Build system'
+arch=(any)
+url="https://gyp.gsrc.io/"
+license=(custom:BSD)
+depends=(python2 ninja)
+makedepends=(python2-setuptools git)
+_commit=a478c1ab51ea3e04e79791ac3d1dad01b3f57434  # changes/21/487521/4
+source=("git+https://chromium.googlesource.com/external/gyp#commit=$_commit")
+sha256sums=('SKIP')
+
+build() {
+  cd $pkgname
+  python2 setup.py build
+}
+
+package() {
+  cd $pkgname
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list