summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6437fca37d335855474b6cdbd79d65bb7785b02c (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
# Maintainer: robertfoster

pkgname=gyp-git
pkgver=2174.1615ec32
pkgrel=1
pkgdesc="GYP can Generate Your Projects."
url="http://code.google.com/p/gyp/"
arch=('i686' 'x86_64')
makedepends=('git')
depends=('python' 'python-setuptools')
license=('custom')
source=("gyp::git+https://chromium.googlesource.com/external/gyp")
conflicts=('gyp-svn')
replaces=('gyp-svn')

pkgver() {
  cd gyp
  echo "$(git rev-list --count master).$(git rev-parse --short master)"
}

package() {
  cd gyp
  python3 setup.py install --root="$pkgdir"
}

sha256sums=('SKIP')