Compare commits
2 Commits
b0cda31ed1
...
e33f91a388
Author | SHA1 | Date | |
---|---|---|---|
e33f91a388 | |||
10c452fa0b |
@ -1,7 +1,7 @@
|
||||
# Maintainer: Louis Dalibard <ontake@ontake.dev>
|
||||
_pkgbase="himitsu"
|
||||
_pkgbase="ontk-himitsu"
|
||||
pkgname="$_pkgbase-git"
|
||||
pkgver=r3.ge06764a
|
||||
pkgver=r4.ge3bd7be
|
||||
pkgrel=1
|
||||
pkgdesc="A tiny command line 2FA TOTP client."
|
||||
arch=("x86_64" "armv7h" "aarch64")
|
||||
@ -23,16 +23,16 @@ noextract=()
|
||||
md5sums=("SKIP") #autofill using updpkgsums
|
||||
|
||||
pkgver() {
|
||||
cd ${srcdir}/${_pkgbase}
|
||||
cd ${srcdir}/himitsu
|
||||
echo "r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_pkgbase}"
|
||||
cd "${srcdir}/himitsu"
|
||||
go mod tidy
|
||||
go build
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/${_pkgbase}/${_pkgbase}" "${pkgdir}"/usr/bin/${_pkgbase}
|
||||
install -Dm755 "${srcdir}/himitsu/himitsu" "${pkgdir}"/usr/bin/himitsu
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user