diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-10-27 17:33:40 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-10-27 17:33:40 (GMT) |
commit | 2132323390eec564f7e587f52aa5102a9305d63a (patch) | |
tree | a1326a31f1c6f459e687addc841d18fe407bc998 | |
parent | 4d6d7503d83fa595b9396b9b8d0c9f07448f0e33 (diff) | |
download | linhes_pkgbuild-2132323390eec564f7e587f52aa5102a9305d63a.zip linhes_pkgbuild-2132323390eec564f7e587f52aa5102a9305d63a.tar.gz linhes_pkgbuild-2132323390eec564f7e587f52aa5102a9305d63a.tar.bz2 |
gyp: initial inclusion, dep of nss
-rw-r--r-- | abs/extra/gyp/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
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) <jan.steffens@gmail.com> + +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" +} |