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

pkgname=koreader-bin
pkgver=2024.11
pkgrel=2
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" 'aarch64')
url="https://github.com/koreader/koreader/"
license=('AGPL3')
depends=('sdl2' 'fonts-noto-hinted' 'fonts-droid-fallback')
source_x86_64=("https://github.com/koreader/koreader/releases/download/v${pkgver}/koreader-${pkgver}-amd64.deb")
source_aarch64=("https://github.com/koreader/koreader/releases/download/v${pkgver}/koreader-${pkgver}-arm64.deb")
sha256sums_x86_64=('89b7a116b39c26a84cf823007070e7dd7c32e82b9e07c91d9e860c3037bfd89b')
sha256sums_aarch64=('bb2fb8fa9372cf5d31ac6334405f6ad32e94a502b507d3c636aadc2ba9c43506')

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

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