2024-01-28 18:19:46 +01:00
|
|
|
# Contributor: ITmodulo <itmodulo@disroot.org>
|
|
|
|
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
2024-03-09 23:49:57 +01:00
|
|
|
pkgname=dissent
|
|
|
|
pkgver=0.0.21
|
2024-02-06 16:29:11 +01:00
|
|
|
pkgrel=0
|
2024-01-28 18:19:46 +01:00
|
|
|
pkgdesc="GTK4/Libadwaita native discord client written in Go"
|
2024-03-09 23:49:57 +01:00
|
|
|
url="https://github.com/diamondburned/dissent"
|
2024-01-28 18:19:46 +01:00
|
|
|
license="GPL-3.0-or-later"
|
|
|
|
arch="all"
|
2024-03-09 23:49:57 +01:00
|
|
|
makedepends="go gobject-introspection-dev gtk4.0-dev libadwaita-dev libsecret-dev"
|
2024-01-28 18:19:46 +01:00
|
|
|
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
|
2024-03-09 23:49:57 +01:00
|
|
|
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
|
|
|
|
}
|
2024-01-28 18:19:46 +01:00
|
|
|
|
|
|
|
sha512sums="
|
2024-03-09 23:49:57 +01:00
|
|
|
cedd3f9794f07f8a69bae5e86ba162854896510b76685012d607766c6c3049a299c23cefb0b5b7a6ab8a1568fc096027b8588eca0a0a35c7f9bbf9cea284260e dissent-0.0.21.tar.gz
|
2024-02-06 16:29:11 +01:00
|
|
|
"
|