summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6cc8ecc810fd7d9871c851d272dd3ccc19d4a2ba (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
27
28
29
30
# Maintainer: Michał Wołoszyn <kontakt@fraunos.pl>

_pkgname=arc-unit-mocha
pkgname="${_pkgname}-git"

pkgver() {
  cd "$_pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

pkgver=r13.259af28
pkgrel=1
pkgdesc='Various linters for Phabricator (via arcanist) by Pinterest'
arch=('any')
url="https://github.com/sealcode/arc-unit-mocha"
license=('BSD3')
depends=('php' 'python' 'arcanist-git')
optdepends=('git: Git VCS support'
            'subversion: Subversion VCS support'
            'mercurial: Mercurial VCS support')
makedepends=('git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git+https://github.com/sealcode/arc-unit-mocha.git")
sha256sums=('SKIP')

package() {
  install -d "$pkgdir/usr/share/php/$_pkgname/"
  cp -a $_pkgname/* "$pkgdir/usr/share/php/$_pkgname/"
}