community/godap: upgrade to 2.7.5

and add simple test
This commit is contained in:
omni 2024-09-13 08:38:36 +00:00
parent 13743e2a98
commit d09cf383f6

View File

@ -1,7 +1,7 @@
# Contributor: omni <omni+alpine@hack.org> # Contributor: omni <omni+alpine@hack.org>
# Maintainer: omni <omni+alpine@hack.org> # Maintainer: omni <omni+alpine@hack.org>
pkgname=godap pkgname=godap
pkgver=2.7.4 pkgver=2.7.5
pkgrel=0 pkgrel=0
pkgdesc="A complete TUI for LDAP" pkgdesc="A complete TUI for LDAP"
url="https://github.com/Macmod/godap" url="https://github.com/Macmod/godap"
@ -13,7 +13,7 @@ subpackages="$pkgname-doc
$pkgname-fish-completion $pkgname-fish-completion
$pkgname-zsh-completion $pkgname-zsh-completion
" "
options="net !check" # no test files options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/Macmod/godap/archive/refs/tags/v$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/Macmod/godap/archive/refs/tags/v$pkgver.tar.gz"
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw" export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw"
@ -31,6 +31,11 @@ build() {
done done
} }
check() {
# no upstream tests
./godap version
}
package() { package() {
install -Dm0755 "$pkgname" -t "$pkgdir"/usr/bin install -Dm0755 "$pkgname" -t "$pkgdir"/usr/bin
@ -43,5 +48,5 @@ package() {
} }
sha512sums=" sha512sums="
cc2552b955621c3ecccb315b78c14617a77b351380ea6522c47f7257137f73ffcdaa663b5fca13ecb06cac6f703a6a1a9c5dbf2f38c4a1f48c24dcd921949f76 godap-2.7.4.tar.gz b89c23d4b61523c4e18e1927f68852e249cd096a6dfc30e4df13ebf866cb9bd4e1738af8f45d0c65bc28fb11b23d7e7f05386057540a6774f30c1564f1248f2a godap-2.7.5.tar.gz
" "