aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c49f08bd1422572120f9e93b3f5469b3b0754f19 (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-file upstream, git version
# pass-file adds support to files using pass
_pkgname=pass-file
pkgname=$_pkgname-git
pkgver=r7.1c7e6a0
pkgrel=1
pkgdesc=" A pass extension that allows to add files to your password-store."
arch=('i686' 'x86_64')
url="https://github.com/dvogt23/pass-file"
license=('GPL3')
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/dvogt23/pass-file.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
}