# Contributor: ITmodulo # Maintainer: ITmodulo pkgname=dissent pkgver=0.0.21 pkgrel=0 pkgdesc="GTK4/Libadwaita native discord client written in Go" url="https://github.com/diamondburned/dissent" license="GPL-3.0-or-later" arch="all" makedepends="go gobject-introspection-dev gtk4.0-dev libadwaita-dev libsecret-dev libcanberra-dev" depends="libsecret" source="$pkgname-$pkgver.tar.gz::https://github.com/diamondburned/$pkgname/archive/refs/tags/v$pkgver.tar.gz" build() { go build -ldflags="-s -w" -o bin/$pkgname } check() { go test ./... } package() { install -Dm755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname install -Dm644 internal/icons/hicolor/scalable/apps/so.libdb.dissent.svg "$pkgdir"/usr/share/pixmaps/so.libdb.dissent.svg install -Dm644 nix/so.libdb.dissent.desktop "$pkgdir"/usr/share/applications/so.libdb.dissent.desktop } sha512sums=" cedd3f9794f07f8a69bae5e86ba162854896510b76685012d607766c6c3049a299c23cefb0b5b7a6ab8a1568fc096027b8588eca0a0a35c7f9bbf9cea284260e dissent-0.0.21.tar.gz "