mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 09:27:19 +02:00
46 lines
1.4 KiB
Text
46 lines
1.4 KiB
Text
# Contributor: lauren n. liberda <lauren@selfisekai.rocks>
|
|
# Contributor: Callum Andrew <contact@candrew.net>
|
|
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
|
|
pkgname=dissent
|
|
pkgver=0.0.32
|
|
pkgrel=3
|
|
pkgdesc="Lightweight and modern Discord client"
|
|
url="https://libdb.so/dissent"
|
|
# riscv64: https://github.com/ianlancetaylor/cgosymbolizer/issues/20
|
|
# loongarch64: same as riscv64, blocked by cgosymbolizer
|
|
arch="all !riscv64 !loongarch64"
|
|
license="GPL-3.0-or-later"
|
|
options="net" # go dependencies
|
|
makedepends="
|
|
go
|
|
gobject-introspection-dev
|
|
gtk4.0-dev
|
|
gtksourceview5-dev
|
|
libadwaita-dev
|
|
libspelling-dev
|
|
"
|
|
depends="mesa-gles"
|
|
source="
|
|
https://github.com/diamondburned/dissent/archive/v$pkgver/dissent-$pkgver.tar.gz
|
|
dissent.desktop
|
|
"
|
|
|
|
build() {
|
|
go build ./main.go
|
|
}
|
|
|
|
check() {
|
|
# no tests yet. but sure, try
|
|
go test ./...
|
|
}
|
|
|
|
package() {
|
|
install -Dm775 main "$pkgdir"/usr/bin/"$pkgname"
|
|
install -Dm644 "$srcdir"/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
|
|
install -Dm644 ./internal/icons/hicolor/scalable/apps/so.libdb.dissent.svg -t "$pkgdir"/usr/share/icons/hicolor/scalable/apps/
|
|
}
|
|
|
|
sha512sums="
|
|
e5918189421b6183c98f97ceab8bd766fcddef399b013652579d1522ecfaa1fcc4e521b8cdfb490f56dc39f73216b4013cf9d9f602c1b1b0f64acab8212fb2a6 dissent-0.0.32.tar.gz
|
|
c454be19d716d0e6a9265423e87d75af2bc7998dd953b606ddf4dcb8e31335fd0b89dec083fc8d114ee1de11ccca1f0b021c1ca2ae760f3e92de66c58dc3d485 dissent.desktop
|
|
"
|