summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc9c9071d6fcf69f1b386074779dddd991dd4fe5 (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: Manel Castillo Giménez
pkgname="clavis"
pkgver="1.3.0"
pkgrel="2"
pkgdesc="An easy to use Password Manager."
arch=("x86_64")
url="https://github.com/ManelCG/clavis"
depends=("gtk3" "cairo" "pango" "pixman" "pass" "make" "pkgconf" "xdotool" "xclip" "grep" "awk" "gnupg")
conflicts=("clavis-git")
optdepends=()

_gitroot="https://github.com/ManelCG/clavis.git"
_gitname="clavis"
source=()
sha256sums=()

package(){
  echo "Building Clavis..."
  cd ${srcdir}

  echo "Downloading Clavis from github..."
  if [ -d ${srcdir}/${_gitname} ]; then
    cd "${srcdir}/${_gitname}"
    git pull origin
    echo "Local files updated..."
  else
    git clone ${_gitroot} ${srcdir}/${_gitname}
  fi

  cd ${srcdir}/${_gitname}
  git checkout 764d7af350316e98f0ad92e57bdf5909afef7100

  echo "Git checkout done"

  echo "Starting configure"

  make BDIR=${pkgdir} archlinux
}