From 2132323390eec564f7e587f52aa5102a9305d63a Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Fri, 27 Oct 2017 17:33:40 +0000 Subject: gyp: initial inclusion, dep of nss --- abs/extra/gyp/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 abs/extra/gyp/PKGBUILD diff --git a/abs/extra/gyp/PKGBUILD b/abs/extra/gyp/PKGBUILD new file mode 100644 index 0000000..02bad2d --- /dev/null +++ b/abs/extra/gyp/PKGBUILD @@ -0,0 +1,26 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) + +pkgname=gyp +pkgver=20170609 +pkgrel=2 +pkgdesc='"Generate Your Projects" Meta-Build system' +arch=(any) +url="https://gyp.gsrc.io/" +license=(custom:BSD) +depends=(python2-setuptools ninja) +makedepends=(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" +} -- cgit v0.12