itmodulo
e318b57b8c
All checks were successful
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Successful in 2h27m26s
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
# Contributor: ITmodulo <itmodulo@disroot.org>
|
|
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
|
pkgname=gtkcord4
|
|
pkgver=0.0.17
|
|
pkgrel=1
|
|
pkgdesc="GTK4/Libadwaita native discord client written in Go"
|
|
url="https://github.com/diamondburned/gtkcord4"
|
|
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/logo.svg "$pkgdir"/usr/share/pixmaps/gtkcord4.svg
|
|
install -Dm644 nix/xyz.diamondb.gtkcord4.desktop "$pkgdir"/usr/share/applications/gtkcord4.desktop
|
|
}
|
|
|
|
|
|
sha512sums="
|
|
b0fcd144d2593a14ded6672e9db77b9508e8b395d68d481a7b346097f7036037c7f7feb850f35c4ff511d198c0a987dcb222920a4e0e37a062d18e5fae76c8e0 gtkcord4-0.0.17.tar.gz
|
|
"
|