summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorston2022-07-29 13:12:02 +0800
committerston2022-07-29 13:12:02 +0800
commit6f861b8cab2dd783a4e44089882689b8b6fc3f59 (patch)
tree78adef22b7aeb4c75fda81f938445a19a5fa4d78
parent4be90f438f0ad933dd84a3796f99baa7b4993c22 (diff)
downloadaur-6f861b8cab2dd783a4e44089882689b8b6fc3f59.tar.gz
add icons
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD11
3 files changed, 14 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cc6c34bca1b5..987976d6a4b8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rishiqing-uos
pkgdesc = 日事清 A teamwork management software.
pkgver = 3.3.1
- pkgrel = 1
+ pkgrel = 2
url = https://www.rishiqing.com/
arch = x86_64
license = custom
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..8c76df376c5e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/*.zst
+/*.zip
+/src/
+/pkg/
+/*.deb
diff --git a/PKGBUILD b/PKGBUILD
index b96714e9824f..5a5f480908b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer:ston<2424284164@qq.com>
pkgname=rishiqing-uos
pkgver=3.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="日事清 A teamwork management software."
arch=('x86_64')
url="https://www.rishiqing.com/"
@@ -17,12 +17,17 @@ package() {
echo " -> Extracting the data.tar.xz..."
bsdtar -xvf data.tar.xz -C "${pkgdir}/"
chmod -R 755 "${pkgdir}/opt/"
-
echo " -> Installing..."
# Launcher
- install -Dm755 "${pkgdir}/opt/apps/com.rishiqing.uos/files/rishiqing" "${pkgdir}/usr/bin/${pkgname}"
+ install -d ${pkgdir}/usr/bin/
+ ln -s /opt/apps/com.rishiqing.uos/files/rishiqing ${pkgdir}/usr/bin/rishiqing-uos
# Desktop Entry
install -Dm644 "${pkgdir}/opt/apps/com.rishiqing.uos/entries/applications/com.rishiqing.uos.desktop" -t "${pkgdir}/usr/share/applications/"
+ # Icons
+ for i in 16x16 24x24 32x32 48x48 128x128 256x256 512x512; do
+ install -Dm644 "$pkgdir"/opt/apps/com.rishiqing.uos/entries/icons/hicolor/$i/apps/com.rishiqing.uos.png "$pkgdir"/usr/share/icons/hicolor/$i/apps/com.rishiqing.uos.png
+ done
+ install -Dm644 "$pkgdir"/opt/apps/com.rishiqing.uos/entries/icons/hicolor/scalable/apps/com.rishiqing.uos.svg "$pkgdir"/usr/share/icons/hicolor/$i/apps/com.rishiqing.uos.svg
# License
install -Dm644 "${pkgdir}/opt/apps/com.rishiqing.uos/files/LICENSE.electron.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
install -Dm644 "${pkgdir}/opt/apps/com.rishiqing.uos/files/LICENSES.chromium.html" -t "${pkgdir}/usr/share/licenses/${pkgname}/"