summaryrefslogtreecommitdiffstats
path: root/abs/extra/gyp/PKGBUILD
blob: 02bad2d61f6f6c7559435160cb2179aeafe1313b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"
}