summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoragafron2019-01-02 22:15:23 +0200
committeragafron2019-01-02 22:15:23 +0200
commita3819c37cedd086a8bbc9cf2189533ec1ac9e955 (patch)
tree6bf69372ccb1080666e73e3e5ba2ed8986f520ad
downloadaur-a3819c37cedd086a8bbc9cf2189533ec1ac9e955.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD24
-rw-r--r--ZVVBook.desktop8
-rw-r--r--zvvbook2
4 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0c5729eaf1f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Wed Jan 2 20:15:07 UTC 2019
+pkgbase = zvvbook
+ pkgdesc = fb2, epub & pdf reader
+ pkgver = 5.1_beta
+ pkgrel = 1
+ url = https://zvvubuntu.blogspot.com
+ arch = i386
+ arch = x86_64
+ license = custom
+ depends = pyqt5-common
+ depends = python-pyqt5
+ source = ZVVBook_5.1_beta.deb::https://docs.google.com/uc?id=1tWZsNm8OaZtbphOySdq0ARdB0NJmEiAH
+ source = zvvbook
+ source = ZVVBook.desktop
+ md5sums = db903a0084e51cea040a2bb6b45a4bbf
+ md5sums = be29d1142c22607c19fefbf42f7aa2e4
+ md5sums = 4c97905e644c0a2a8cdc1df864659828
+
+pkgname = zvvbook
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..db4bb064b28
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Вячеслав Зубик
+
+pkgname=zvvbook
+_pkgname=ZVVBook
+pkgbeta=beta
+pkgver=5.1_$pkgbeta
+pkgrel=1
+pkgdesc="fb2, epub & pdf reader"
+arch=('i386' 'x86_64')
+url="https://zvvubuntu.blogspot.com"
+license=('custom')
+depends=('pyqt5-common' 'python-pyqt5')
+
+source=("${_pkgname}_${pkgver}.deb::https://docs.google.com/uc?id=1tWZsNm8OaZtbphOySdq0ARdB0NJmEiAH" "$pkgname" "${_pkgname}.desktop")
+md5sums=('db903a0084e51cea040a2bb6b45a4bbf'
+ 'be29d1142c22607c19fefbf42f7aa2e4'
+ '4c97905e644c0a2a8cdc1df864659828')
+
+package() {
+ cd "${srcdir}"
+ bsdtar -xf data.tar.xz -C "$pkgdir"
+ install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
+ install -Dm755 ${_pkgname}.desktop $pkgdir/usr/share/applications/$_pkgname.desktop
+}
diff --git a/ZVVBook.desktop b/ZVVBook.desktop
new file mode 100644
index 00000000000..75d76856874
--- /dev/null
+++ b/ZVVBook.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Categories=Utility
+Exec=zvvbook
+Icon=/usr/share/ZVVBook/images/book_cover.png
+Name=ZVVBook
+Name[en_US]=ZVVBook
+Type=Application
+X-Deepin-Vendor=user-custom
diff --git a/zvvbook b/zvvbook
new file mode 100644
index 00000000000..3458be75bb6
--- /dev/null
+++ b/zvvbook
@@ -0,0 +1,2 @@
+#! /bin/sh
+sh -c 'cd /usr/share/ZVVBook && python ZVVBook.py'