summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>2015-10-19 16:10:01 +0100
committerEmmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>2015-10-19 16:10:01 +0100
commit91ca671b78ad65e9cac14bec7d8f11251f789bb4 (patch)
tree20c5fcb83ad298dd4771f14e23d8b1eae2c61ca3
Initial commit.
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD25
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..8b9008d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
1pkgbase = git-phab-git
2 pkgdesc = Git subcommand to integrate with phabricator
3 pkgver = r2.1c3ca45
4 pkgrel = 1
5 url = https://phabricator.freedesktop.org/project/profile/60/
6 arch = any
7 license = GPL2
8 makedepends = git
9 depends = python-gitpython
10 depends = arcanist
11 provides = git-phab
12 conflicts = git-phab
13 source = git://anongit.freedesktop.org/git/git-phab
14 md5sums = SKIP
15
16pkgname = git-phab-git
17
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..564ee98
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
1# Maintainer: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>
2
3pkgname='git-phab-git'
4pkgver=r2.1c3ca45
5pkgrel=1
6pkgdesc='Git subcommand to integrate with phabricator'
7arch=('any')
8url='https://phabricator.freedesktop.org/project/profile/60/'
9license=('GPL2')
10depends=('python-gitpython' 'arcanist')
11provides=('git-phab')
12conflicts=('git-phab')
13makedepends=('git')
14source=('git://anongit.freedesktop.org/git/git-phab')
15md5sums=('SKIP')
16
17pkgver() {
18 cd "$srcdir/git-phab"
19 echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
20}
21
22package() {
23 cd "$srcdir/git-phab"
24 install -Dm755 git-phab "$pkgdir/usr/bin/git-phab"
25}