summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>2015-10-21 21:27:17 +0100
committerEmmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>2015-10-21 21:27:17 +0100
commit246494cb95e083655eebb14ecbf38325a0dbbc5a (patch)
tree6b621f0efaf1151e77b25acc7cf67c6a5d87f337
parent91ca671b78ad65e9cac14bec7d8f11251f789bb4 (diff)
Add the new python-argcomplete dependency, and clean up the PKGBUILD a bit.
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD18
2 files changed, 13 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8b9008d..a98d155 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
1pkgbase = git-phab-git 1pkgbase = git-phab-git
2 pkgdesc = Git subcommand to integrate with phabricator 2 pkgdesc = Git subcommand to integrate with phabricator
3 pkgver = r2.1c3ca45 3 pkgver = r19.43d0734
4 pkgrel = 1 4 pkgrel = 1
5 url = https://phabricator.freedesktop.org/project/profile/60/ 5 url = https://phabricator.freedesktop.org/project/profile/60/
6 arch = any 6 arch = any
@@ -8,9 +8,10 @@ pkgbase = git-phab-git
8 makedepends = git 8 makedepends = git
9 depends = python-gitpython 9 depends = python-gitpython
10 depends = arcanist 10 depends = arcanist
11 depends = python-argcomplete
11 provides = git-phab 12 provides = git-phab
12 conflicts = git-phab 13 conflicts = git-phab
13 source = git://anongit.freedesktop.org/git/git-phab 14 source = git-phab::git://anongit.freedesktop.org/git/git-phab
14 md5sums = SKIP 15 md5sums = SKIP
15 16
16pkgname = git-phab-git 17pkgname = git-phab-git
diff --git a/PKGBUILD b/PKGBUILD
index 564ee98..fb28643 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,27 @@
1# Maintainer: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com> 1# Maintainer: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>
2 2
3_pkgname='git-phab'
3pkgname='git-phab-git' 4pkgname='git-phab-git'
4pkgver=r2.1c3ca45 5pkgver=r19.43d0734
5pkgrel=1 6pkgrel=1
6pkgdesc='Git subcommand to integrate with phabricator' 7pkgdesc='Git subcommand to integrate with phabricator'
7arch=('any') 8arch=('any')
8url='https://phabricator.freedesktop.org/project/profile/60/' 9url='https://phabricator.freedesktop.org/project/profile/60/'
9license=('GPL2') 10license=('GPL2')
10depends=('python-gitpython' 'arcanist') 11depends=('python-gitpython' 'arcanist' 'python-argcomplete')
11provides=('git-phab') 12provides=("$_pkgname")
12conflicts=('git-phab') 13conflicts=("$_pkgname")
13makedepends=('git') 14makedepends=('git')
14source=('git://anongit.freedesktop.org/git/git-phab') 15source=("$_pkgname::git://anongit.freedesktop.org/git/git-phab")
15md5sums=('SKIP') 16md5sums=('SKIP')
16 17
17pkgver() { 18pkgver() {
18 cd "$srcdir/git-phab" 19 cd "$srcdir/$_pkgname"
19 echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" 20 echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
20} 21}
21 22
22package() { 23package() {
23 cd "$srcdir/git-phab" 24 cd "$srcdir/$_pkgname"
24 install -Dm755 git-phab "$pkgdir/usr/bin/git-phab" 25 install -Dm755 git-phab "$pkgdir/usr/bin/$_pkgname"
26 install -Dm644 README "$pkgdir/usr/share/doc/$_pkgname/README"
25} 27}