Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
build: add openfool
Browse files Browse the repository at this point in the history
    Open source implementation of a Fool (Durak) card game

Log: add software name--openfool
  • Loading branch information
wjyrich committed May 16, 2024
1 parent e7f01b2 commit 0438c6a
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
20 changes: 20 additions & 0 deletions io.github.openfool/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package:
id: io.github.openfool
name: openfool
version: 0.0.9
kind: app
description: |
Open source implementation of a Fool (Durak) card game
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/artenax/openfool.git
commit: ff48e1241dc79c75ad81d0728af4a6f57deda1e9
patch: patches/0001-install.patch

build:
kind: qmake
29 changes: 29 additions & 0 deletions io.github.openfool/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From bbbb49c9889d3b8da150258d962b886ae591e8bc Mon Sep 17 00:00:00 2001
From: wjyrich <[email protected]>
Date: Thu, 16 May 2024 12:56:20 +0800
Subject: [PATCH] install

---
OpenFool.pro | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/OpenFool.pro b/OpenFool.pro
index 0c3ea85..ddfceac 100644
--- a/OpenFool.pro
+++ b/OpenFool.pro
@@ -65,3 +65,11 @@ TRANSLATIONS += OpenFool_en.ts OpenFool_ru.ts
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android

RC_ICONS = icons/icon_128_win.ico
+
+target.path = $$PREFIX/bin
+desktop.files = openfool.desktop
+desktop.path = $$PREFIX/share/applications/
+icons.path = $$PREFIX/share/icons/hicolor/
+icons.files = openfool.png
+
+INSTALLS += target desktop icons
\ No newline at end of file
--
2.33.1

0 comments on commit 0438c6a

Please sign in to comment.