Compare commits

..

2 Commits

Author SHA1 Message Date
e33f91a388 feat: change name 2024-05-02 22:04:53 +02:00
10c452fa0b feat: change name 2024-05-02 22:03:45 +02:00

View File

@ -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
}