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

# PKGBUILD script for pass-spell upstream, git version
_pkgname=pass-spell
pkgname=$_pkgname-git
pkgver=0.1.0.r0.gbfc130c
pkgrel=1
pkgdesc="A pass extension for your ears."
arch=('i686' 'x86_64')
url="https://github.com/Qu4tro/pass-spell"
license=('GPL3')
groups=()
depends=('pass' 'nato-spell')
makedepends=('git' 'sed')
# optdepends=('***: for that thing *** does')
provides=("$_pkgname")
conflicts=("$_pkgname")
backup=("etc/$_pkgname/$_pkgname.conf")
source=("$_pkgname::git+https://github.com/Qu4tro/pass-spell.git")
md5sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

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