summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f79225d6ce0045f65c83a7f8b37a4134ae7e4efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Black_Codec <orso.f.regna@gmail.com>

pkgname=valaotp-git
_pkgname=valaotp
pkgver=1
pkgrel=4
pkgdesc="Vala app that parse the otpauth url parameter and call oathtool for generate an otp"
arch=('any')
url="https://github.com/BlackCodec/valaotp/"
license=('GPL')
makedepends=('vala')
depends=('oath-toolkit')
source=("https://github.com/BlackCodec/$_pkgname/archive/refs/heads/main.zip")
sha256sums=('SKIP')

package() {
   cd $srcdir/$_pkgname-main/
   make build
   install -Dm 755 "$srcdir/$_pkgname-main/otptool" "$pkgdir/usr/local/bin/otptool"
   install -Dm 755 "$srcdir/$_pkgname-main/otp.bash" "$pkgdir/usr/lib/password-store/extensions/otp.bash"
}