summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 891f0f72f3158aae401c0cae01cf900a82bab14c (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
# Mantainer: Dudemanguy <random342@airmail.cc>

pkgname=password-sanity-git
_pkgname=password-sanity
pkgver=0.50_2_g34994fd
pkgrel=1
license=("GPL3")
pkgdesc="A simple, python program for securely managing passwords through the command line"
depends=("python" "python-gnupg" "python-pyperclip")
makedepends=("python-build" "python-installer" "python-wheel")
arch=("any")
url="https://github.com/Dudemanguy/password-sanity"
source=("${_pkgname}::git+https://github.com/Dudemanguy/password-sanity.git")
sha512sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  printf "%s" "$(git describe --tags)" | sed s/-/_/g
}

build() {
  cd "$_pkgname"
  python -m build --wheel --no-isolation
}

package() {
  cd "$_pkgname"
  python -m installer --destdir="$pkgdir" dist/*.whl
}