summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 869e3681139df681d1eb206aa76caae1119feee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: sg <velocity_abstract275@simplelogin.com>

pkgname=kpxcpc-git
pkgver=latest
pkgrel=2
pkgdesc="A non-featureful KeePassXC-proxy command line client"
arch=('x86_64')
url="https://gitlab.com/nwwdles/kpxcpc"
license=('MIT')
makedepends=('go' 'git')

build() {
  export GOPATH="$srcdir"
  export PATH="$GOPATH/bin:$PATH"
  git clone https://gitlab.com/nwwdles/kpxcpc.git kpxcpc
  cd ./kpxcpc
  go install
}

package() {
  install -Dm755 "$GOPATH/bin/kpxcpc" "$pkgdir/usr/bin/kpxcpc"
}