Compare commits

..

No commits in common. "e33f91a388bfe0f141293bf4f94146b98c25a350" and "b0cda31ed134080e31a1b42b12b3d6c3f51f74e9" have entirely different histories.

View File

@ -1,7 +1,7 @@
# Maintainer: Louis Dalibard <ontake@ontake.dev> # Maintainer: Louis Dalibard <ontake@ontake.dev>
_pkgbase="ontk-himitsu" _pkgbase="himitsu"
pkgname="$_pkgbase-git" pkgname="$_pkgbase-git"
pkgver=r4.ge3bd7be pkgver=r3.ge06764a
pkgrel=1 pkgrel=1
pkgdesc="A tiny command line 2FA TOTP client." pkgdesc="A tiny command line 2FA TOTP client."
arch=("x86_64" "armv7h" "aarch64") arch=("x86_64" "armv7h" "aarch64")
@ -23,16 +23,16 @@ noextract=()
md5sums=("SKIP") #autofill using updpkgsums md5sums=("SKIP") #autofill using updpkgsums
pkgver() { pkgver() {
cd ${srcdir}/himitsu cd ${srcdir}/${_pkgbase}
echo "r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)" echo "r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
} }
build() { build() {
cd "${srcdir}/himitsu" cd "${srcdir}/${_pkgbase}"
go mod tidy go mod tidy
go build go build
} }
package() { package() {
install -Dm755 "${srcdir}/himitsu/himitsu" "${pkgdir}"/usr/bin/himitsu install -Dm755 "${srcdir}/${_pkgbase}/${_pkgbase}" "${pkgdir}"/usr/bin/${_pkgbase}
} }