New package: q5go-2.13
This commit is contained in:
parent
814c5a60aa
commit
e392f1ba3a
18
srcpkgs/q5go/patches/qgo.desktop.patch
Normal file
18
srcpkgs/q5go/patches/qgo.desktop.patch
Normal file
@ -0,0 +1,18 @@
|
||||
--- a/templates/qgo.desktop 2022-04-27 13:03:23.000000000 -0500
|
||||
+++ b/templates/qgo.desktop 2022-05-16 18:26:45.485870905 -0500
|
||||
@@ -1,10 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
-Comment=qgo
|
||||
-Exec=qgo
|
||||
-Icon=/usr/share/qGo/pics/Bowl.png
|
||||
-MimeType=text/plain;text/sfg;Application
|
||||
-Name=qgo
|
||||
+Comment=q5go
|
||||
+Exec=q5go
|
||||
+Icon=/usr/share/q5go/pics/Bowl.ico
|
||||
+MimeType=application/x-go-sgf;
|
||||
+Name=q5go
|
||||
GenericName=Go
|
||||
Name[fr]=qgo
|
||||
GenericName[ar]=??
|
20
srcpkgs/q5go/template
Normal file
20
srcpkgs/q5go/template
Normal file
@ -0,0 +1,20 @@
|
||||
# Template file for 'q5go'
|
||||
pkgname=q5go
|
||||
version=2.1.3
|
||||
revision=1
|
||||
wrksrc="q5Go-${pkgname}-${version}"
|
||||
build_style=qmake
|
||||
configure_args="src/q5go.pro"
|
||||
hostmakedepends="qt5-qmake qt5-host-tools"
|
||||
makedepends="qt5-multimedia-devel qt5-svg-devel"
|
||||
short_desc="Qt5 Go/Weiqi/Baduk client modernized from qGo"
|
||||
maintainer="Jason Manley <jason@jasondavid.tv>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/bernds/q5Go"
|
||||
distfiles="https://github.com/bernds/q5Go/archive/refs/tags/${pkgname}-${version}.tar.gz"
|
||||
checksum=bffab6641acedf20b73f3429c60ef560942ffea27527aaa3a9a9c722b41f0791
|
||||
|
||||
post_install() {
|
||||
qmake -install qinstall "${wrksrc}/src/images/Bowl.ico" "${DESTDIR}/usr/share/q5go/pics/Bowl.ico"
|
||||
qmake -install qinstall "${wrksrc}/templates/qgo.desktop" "${DESTDIR}/usr/share/applications/q5go.desktop"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user