summaryrefslogtreecommitdiff
path: root/castor-git/castor-0.4.0-install.patch
diff options
context:
space:
mode:
authorDeposite Pirate2020-01-24 16:20:51 +0100
committerDeposite Pirate2020-01-24 16:20:51 +0100
commit7e4599d9da1b7db18184a3a34e8c3fcab2e5856d (patch)
treedbb7d33047056119e9d46dabb17c3ab3620f353e /castor-git/castor-0.4.0-install.patch
parent53a778480adf1b367f74e3421c782c991416cb40 (diff)
* New package: castor. A graphical gemini/gopher/finger client.
new file: castor-git/.SRCINFO new file: castor-git/PKGBUILD new file: castor-git/castor-0.4.0-install.patch
Diffstat (limited to 'castor-git/castor-0.4.0-install.patch')
-rw-r--r--castor-git/castor-0.4.0-install.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/castor-git/castor-0.4.0-install.patch b/castor-git/castor-0.4.0-install.patch
new file mode 100644
index 0000000..678194f
--- /dev/null
+++ b/castor-git/castor-0.4.0-install.patch
@@ -0,0 +1,19 @@
+diff -r -u -N castor/Makefile castor-install/Makefile
+--- castor/Makefile 2020-01-24 15:28:53.812889790 +0100
++++ castor-install/Makefile 2020-01-24 16:11:36.809011148 +0100
+@@ -36,12 +36,10 @@
+ $(INSTALL_DATA) data/org.typed-hole.castor-32.png $(sharedir)/icons/hicolor/32x32/apps/org.typed-hole.castor.png
+ $(INSTALL_DATA) data/org.typed-hole.castor-64.png $(sharedir)/icons/hicolor/64x64/apps/org.typed-hole.castor.png
+ $(INSTALL_DATA) data/org.typed-hole.castor-128.png $(sharedir)/icons/hicolor/128x128/apps/org.typed-hole.castor.png
+- # Force icon cache refresh
+- touch $(sharedir)/icons/hicolor
+- cp target/release/castor /usr/bin/castor
+- # Install desktop file
++ # Create the applications dir if needed
++ mkdir -p $(sharedir)/applications
++ # Install desktop file
+ $(INSTALL_DATA) data/Castor.desktop $(sharedir)/applications/Castor.desktop
+- update-desktop-database
+
+ uninstall :
+ # Remove the .desktop