diff options
author | Michał Wołoszyn | 2021-01-10 14:38:11 +0100 |
---|---|---|
committer | Michał Wołoszyn | 2021-01-10 14:38:11 +0100 |
commit | 0b51f7842a54457f21ab65a146d56e198f37e5cb (patch) | |
tree | 2a619dcbdc200bf14c98de7f8bb6ffd88e9e881e | |
download | aur-0b51f7842a54457f21ab65a146d56e198f37e5cb.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6532be820da3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = arc-unit-mocha-git + pkgdesc = Various linters for Phabricator (via arcanist) by Pinterest + pkgver = r13.259af28 + pkgrel = 1 + url = https://github.com/sealcode/arc-unit-mocha + arch = any + license = BSD3 + makedepends = git + depends = php + depends = python + depends = arcanist-git + optdepends = git: Git VCS support + optdepends = subversion: Subversion VCS support + optdepends = mercurial: Mercurial VCS support + provides = arc-unit-mocha=r13.259af28 + conflicts = arc-unit-mocha + source = git+https://github.com/sealcode/arc-unit-mocha.git + sha256sums = SKIP + +pkgname = arc-unit-mocha-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6cc8ecc810fd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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/" +} |