summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmile Yvan Boutet Livoff2018-03-08 15:16:51 +0100
committerEmile Yvan Boutet Livoff2018-03-08 15:16:51 +0100
commit3f66b0bfddfbe59b62d4fdb9f46901669184f671 (patch)
tree6b40fa9f1168c2a3f81be2f374268d09fb6678a1
parent903611fe2eb195772f803497f6be945c66af1c6e (diff)
downloadaur-3f66b0bfddfbe59b62d4fdb9f46901669184f671.tar.gz
Patch lix.desktop, adding icon and making it run the right file (changed from AppRun to /usr/bin/lix)
-rw-r--r--.SRCINFO1
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD3
-rw-r--r--lix.desktop.patch15
4 files changed, 18 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2104d4daae49..ded8ebc9c08f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,4 +15,3 @@ pkgbase = lix-ereader
md5sums = 2df5cc1ecc8830edd941032e6e4b53b0
pkgname = lix-ereader
-
diff --git a/.gitignore b/.gitignore
index 05c6d4d4c97b..79fad2cb273e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
!.gitignore
!.SRCINFO
!PKGBUILD
+!lix.desktop.patch \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index a2b65d4416e3..68babb4ddde5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=lix-ereader
pkgver=1.0.15
-pkgrel=1
+pkgrel=2
pkgdesc="A proprietary e-reader"
arch=('x86_64')
url='https://www.lix.com/'
@@ -20,6 +20,7 @@ prepare() {
rm -r usr/lib
# Desktop Entry
+ patch -uN lix.desktop ../lix.desktop.patch || return 1
mkdir -p usr/share/applications
mv lix.desktop usr/share/applications
diff --git a/lix.desktop.patch b/lix.desktop.patch
new file mode 100644
index 000000000000..2ae23e3c4cfd
--- /dev/null
+++ b/lix.desktop.patch
@@ -0,0 +1,15 @@
+--- /usr/share/applications/lix.desktop 2017-11-30 09:38:30.000000000 +0100
++++ lix.desktop 2018-03-08 14:45:04.467068555 +0100
+@@ -1,10 +1,10 @@
+ [Desktop Entry]
+ Name=Lix
+ Comment=Lix E-Reader for Linux
+-Exec=AppRun
++Exec=/usr/bin/lix
+ Terminal=false
+ Type=Application
+-Icon=lix
++Icon=/usr/share/icons/default/48x48/apps/lix.png
+ X-AppImage-Version=1.0.15
+ X-AppImage-BuildId=d7f115e0-d5a9-11a7-0154-3952b44ca794
+ Categories=Education;