aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0386e7164f911fe8eea107d4bd2e78807a50c663 (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
# Maintainer: Xavier Francisco <echo moc.liamg@ocsicnarf.n.reivax | rev>

# PKGBUILD script for pass-type upstream, git version
# pass-type adds support to files using pass
_pkgname=pass-type
pkgname=$_pkgname-git
pkgver=r20.458156d
pkgrel=1
pkgdesc=" A pass extension that allows to type passwords from your password-store."
arch=('i686' 'x86_64')
url="https://github.com/c4software/pass-type"
license=('MIT')
groups=()
depends=('pass')
makedepends=('git' 'sed')
# optdepends=('***: for that thing *** does')
provides=("$_pkgname")
conflicts=("$_pkgname")
backup=("etc/$_pkgname/$_pkgname.conf")
source=("$_pkgname::git+https://github.com/c4software/pass-type.git")
md5sums=('SKIP')

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

package() {
  cd "$srcdir/$_pkgname"
  make DESTDIR="${pkgdir}" FORCE_ALL=1 install
}