makedeb


koreader-bin 2023.01-1


An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for koreader-bin.

# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=koreader-bin
_pkgname=koreader
pkgver=2023.01
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=("amd64" "aarch64" "armv4" "armv7")
url="https://github.com/koreader/koreader/"
license=('AGPL3')
depends=('libsdl2-2.0-0' 'fonts-noto-hinted' 'fonts-droid-fallback')
source_amd64=("${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-amd64.deb")
source_aarch64=("${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-arm64.deb")
source_armv4=("${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-armel.deb")
source_armv7=("${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-armhf.deb")
sha512sums_amd64=("9a7c58dbdb938b98b0efbf0997fc0e15c18095e131dbd14079f0c72f29f4b5ddaecd178547c4202131bf9f2ce68b66a49bcff876e51825887427122d238d0e11")
sha512sums_aarch64=("1709dc9e8aacd77fd488882fa3c4092c9a36d33c0792eec8b0d22b8c98f007617684115e98116a81e9f2e1b8ee143632a1ed93e260b8d697caa0243f7ab52831")
sha512sums_armv4=("aec42f10571533dcaf9e69e4088d62c286d77567ff12ef38170e465baa793262c750461098c30e19b885b64ef753c05cc93103cd432ac6f7f89039dcc1e50902")
sha512sums_armv7=("f643a9d2ce077a371f92eeeb88f08d5826b036470e5b5e4e06ee409ce256f045e20dd5ec0f042c721eb256d1299b77c6f9ea8e7945404f7a46d4a3936643d475")

provides=("${_pkgname}")
conflicts=("${_pkgname}")

package() {
      #Extract data.tar.xz to pkgdir
    tar -xvf "${srcdir}/data.tar.xz" -C "${pkgdir}"
}