summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fec104d93e3518f7ad2422cc6c0bb365493a70da (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
34
35
36
37
38
# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch> 
# Contributor : Andrew Whatson <whatson@gmail.com>

_pkgname=shroud
pkgname=${_pkgname}-git
pkgver=0.1.2.r7.g0f5a58d
pkgrel=1
pkgdesc='A simple command-line secret manager using GNU Guile'
arch=('i686' 'x86_64')
license=('GPL3')
depends=('guile' 'gnupg' 'xclip')
provides=($_pkgname)
conflicts=($_pkgname)
makedepends=('git')
url="https://dthompson.us/projects/shroud.html"
source=("git+https://git.dthompson.us/shroud.git")
sha256sums=('SKIP')

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

prepare() {
  cd ${_pkgname}
  ./bootstrap
}

build() {
  cd ${_pkgname}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${_pkgname}
  make DESTDIR="${pkgdir}" install
}