summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: da6dc0486819c22e6b54165beef2567f3646c665 (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
31
32
33
# Maintainer: Xavier Francisco <echo moc.liamg@ocsicnarf.n.reivax | rev>
# Contributor: Xavier Francisco <echo moc.liamg@ocsicnarf.n.reivax | rev>

# PKGBUILD script for git-bookmark upstream, git version
# Keep your bookmarks with your repository
_pkgname=git-bookmark
pkgname=$_pkgname-git
pkgver=0.5.1.r0.gc4ef8b4
pkgrel=1
pkgdesc="Keep your bookmarks with your repository"
arch=('any')
url="https://github.com/Qu4tro/git-bookmark"
license=('MIT')
groups=()
depends=('git' 'docopts')
makedepends=('git' 'sed' 'make')
optdepends=('ruby-ronn: Required when re-generating docs'
            'shellcheck: Required to lint the code'
            'bats-core: Required to run the test suit')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://github.com/Qu4tro/git-bookmark.git")
md5sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  git describe --long --tags | sed 's/-/.r/;s/-/./'
}

package() {
  cd "$srcdir/$_pkgname"
  make DESTDIR="${pkgdir}" MANDIR="/usr/local/man" install
}