summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db4bb064b281fdd5d28933469a901eeb91cfc86b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
}