Compare commits
No commits in common. "e33f91a388bfe0f141293bf4f94146b98c25a350" and "b0cda31ed134080e31a1b42b12b3d6c3f51f74e9" have entirely different histories.
e33f91a388
...
b0cda31ed1
@ -1,7 +1,7 @@
|
||||
# Maintainer: Louis Dalibard <ontake@ontake.dev>
|
||||
_pkgbase="ontk-himitsu"
|
||||
_pkgbase="himitsu"
|
||||
pkgname="$_pkgbase-git"
|
||||
pkgver=r4.ge3bd7be
|
||||
pkgver=r3.ge06764a
|
||||
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}/himitsu
|
||||
cd ${srcdir}/${_pkgbase}
|
||||
echo "r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/himitsu"
|
||||
cd "${srcdir}/${_pkgbase}"
|
||||
go mod tidy
|
||||
go build
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/himitsu/himitsu" "${pkgdir}"/usr/bin/himitsu
|
||||
install -Dm755 "${srcdir}/${_pkgbase}/${_pkgbase}" "${pkgdir}"/usr/bin/${_pkgbase}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user