2019.06-2
Removes koreader.patch and switches to a sed call
This commit is contained in:
parent
5f08ce28dc
commit
857f0a208b
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = koreader-appimage
|
pkgbase = koreader-appimage
|
||||||
pkgdesc = An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats
|
pkgdesc = An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats
|
||||||
pkgver = 2019.06
|
pkgver = 2019.06
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://koreader.rocks/
|
url = http://koreader.rocks/
|
||||||
install = koreader-appimage.install
|
install = koreader-appimage.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -7,7 +7,7 @@
|
||||||
# and install them as we would other apps, for convenience sake.
|
# and install them as we would other apps, for convenience sake.
|
||||||
pkgname=koreader-appimage
|
pkgname=koreader-appimage
|
||||||
pkgver=2019.06
|
pkgver=2019.06
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
|
|
||||||
pkgdesc="An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats"
|
pkgdesc="An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -30,7 +30,7 @@ prepare() {
|
||||||
7z x "${srcdir}/koreader.AppImage" koreader.desktop
|
7z x "${srcdir}/koreader.AppImage" koreader.desktop
|
||||||
mkdir -p usr/share/pixmaps usr/share/applications opt/appimages
|
mkdir -p usr/share/pixmaps usr/share/applications opt/appimages
|
||||||
mv koreader.png usr/share/pixmaps
|
mv koreader.png usr/share/pixmaps
|
||||||
patch -Np0 <../koreader.patch
|
sed -i 's@Exec=.*@Exec=/opt/appimages/koreader.AppImage %u@' koreader.desktop
|
||||||
mv koreader.desktop usr/share/applications
|
mv koreader.desktop usr/share/applications
|
||||||
cp koreader.AppImage opt/appimages/
|
cp koreader.AppImage opt/appimages/
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- koreader.desktop 2018-04-10 12:00:07.000000000 +0530
|
|
||||||
+++ koreader.desktop 2018-04-12 01:25:57.596156359 +0530
|
|
||||||
@@ -1,7 +1,7 @@
|
|
||||||
[Desktop Entry]
|
|
||||||
Name=KOReader
|
|
||||||
Comment=KOReader is a document viewer
|
|
||||||
-Exec=reader.lua %u
|
|
||||||
+Exec=/opt/appimages/koreader.AppImage %u
|
|
||||||
Icon=koreader
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
Loading…
Reference in New Issue