Commit 31e7dd36 authored by Newbyte's avatar Newbyte

testing/gtkcord: new aport

parent 37236519
Pipeline #60402 passed with stages
in 27 minutes and 45 seconds
# Contributor: Newbyte <newbie13xd@gmail.com>
# Maintainer: Newbyte <newbie13xd@gmail.com>
pkgname=gtkcord
pkgver=0.0.4
pkgrel=0
pkgdesc="Unofficial Discord client written in Go and GTK3"
url="https://github.com/diamondburned/gtkcord3"
arch="all !mips64 !s390x" # mips64: blocked by go, s390x: blocked by libhandy
license="GPL-3.0-only"
makedepends="go gtk+3.0-dev libhandy-dev"
source="
gtkcord-v$pkgver.tar.gz::https://github.com/diamondburned/gtkcord3/archive/v$pkgver.tar.gz
gtkcord.desktop
"
builddir="$srcdir/gtkcord3-$pkgver"
build() {
go build -v -o bin/gtkcord
}
check() {
go test
}
package() {
install -Dm755 bin/gtkcord "$pkgdir"/usr/bin/gtkcord
install -Dm644 "$srcdir/gtkcord.desktop" "$pkgdir/usr/share/applications/gtkcord.desktop"
install -Dm644 logo.png "$pkgdir/usr/share/icons/hicolor/256x256/apps/gtkcord.png"
}
sha512sums="79a44891353f5d1b38037e81ec7d540569065a69b48c7128ed295eca26f5bca8ed3cd28f5c3ec5167e00244a8e49e5adcabc7993e6d50972a3b41ef8c962f818 gtkcord-v0.0.4.tar.gz
aca767315ced356abb973471ad08e6750b2f75b6b99fc15fad073dbb9af1243f06ceb9b2854a801eef0046ab1a8e38d042f18c3e63f2d52c993de07885a06dea gtkcord.desktop"
[Desktop Entry]
Name=gtkcord
Comment=Unofficial Discord client
Exec=gtkcord
Icon=gtkcord
Terminal=false
Type=Application
Categories=Network;InstantMessaging;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment