This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gui grep (and sed) with sessions and history Log: add software name--mugi-grep
- Loading branch information
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package: | ||
id: io.github.mugi-grep | ||
name: mugi-grep | ||
version: 1.6.1 | ||
kind: app | ||
description: | | ||
Gui grep (and sed) with sessions and history | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/mugiseyebrows/mugi-grep.git | ||
commit: 21f7a8d4964210151d55862f412f87d79bbda041 | ||
patch: patches/0001-install.patch | ||
|
||
build: | ||
kind: qmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
From 8d568d0b4b826eee840f96e47fa288629cdb7c75 Mon Sep 17 00:00:00 2001 | ||
From: wjyrich <[email protected]> | ||
Date: Tue, 21 May 2024 14:45:17 +0800 | ||
Subject: [PATCH] install | ||
|
||
--- | ||
mugi-grep.desktop | 5 +++++ | ||
mugi-grep.pro | 9 +++++++-- | ||
2 files changed, 12 insertions(+), 2 deletions(-) | ||
create mode 100644 mugi-grep.desktop | ||
|
||
diff --git a/mugi-grep.desktop b/mugi-grep.desktop | ||
new file mode 100644 | ||
index 0000000..d0adb74 | ||
--- /dev/null | ||
+++ b/mugi-grep.desktop | ||
@@ -0,0 +1,5 @@ | ||
+[Desktop Entry] | ||
+Name=mugi-grep | ||
+Icon=mugi-grep | ||
+Exec=mugi-grep | ||
+Categories=Utility | ||
diff --git a/mugi-grep.pro b/mugi-grep.pro | ||
index 858da1c..626380f 100644 | ||
--- a/mugi-grep.pro | ||
+++ b/mugi-grep.pro | ||
@@ -187,8 +187,13 @@ FORMS += \ | ||
src/widget/rxreplaceinput.ui \ | ||
src/widget/lineeditandcheckbox.ui | ||
|
||
-target.path = /usr/local/bin | ||
-INSTALLS += target | ||
+target.path = $$PREFIX/bin | ||
+desktop.files = mugi-grep.desktop | ||
+desktop.path = $$PREFIX/share/applications/ | ||
+icons.path = $$PREFIX/share/icons/hicolor/ | ||
+icons.files = icons/* | ||
+ | ||
+INSTALLS += target desktop icons | ||
|
||
DISTFILES += \ | ||
todo.txt | ||
-- | ||
2.33.1 | ||
|