summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a1a0cf4dfacaf562342937d34bf7c32ac49d84e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: zaoqi <zaomir@outlook.com>

pkgname=koreader-bin
pkgver=null
pkgrel=1
pkgdesc="An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices"
arch=("x86_64")
url="https://github.com/koreader/koreader/"
license=('AGPL3')
depends=('sdl2' 'fonts-noto-hinted' 'fonts-droid-fallback')
source=(
  "https://github.com/koreader/koreader/releases/download/v${pkgver}/koreader-${pkgver}-amd64.deb")
sha512sums=('3d6eb896b57815f84eaabd75671c9f2e38e684cc8ff50741958148469be3b486d8cd12436eea83a89059074a09b441f8f66d96b79a224c47ac11383ffc007092')

build() {
  mkdir -p "${srcdir}/dpkgdir"
  tar -xvf data.tar.xz -C "${srcdir}/dpkgdir"
}

package() {
  cp -r "${srcdir}/dpkgdir"/* "${pkgdir}"
}