# Maintainer: Johan Förberg pkgname=calibre-plugin-kobo-driver pkgver=3.6.7 pkgrel=2 pkgdesc='An extension of the existing KoboTouch driver provided with Calibre' arch=(any) url=https://github.com/jgoguen/calibre-kobo-driver/ license=(GPL3) depends=('calibre') makedepends=(python zsh) source=(https://github.com/jgoguen/calibre-kobo-driver/archive/refs/tags/v$pkgver.tar.gz) sha256sums=('99ff267f5ca417eb6d51dd73744ba62adf32d8507638db64b91f87e4d5a3b5cf') build() { cd "$srcdir/calibre-kobo-driver-$pkgver" # Help build.sh find the root directory by faking a git repo mkdir -p .git scripts/build.sh } package() { cd "$srcdir/calibre-kobo-driver-$pkgver" install -m644 -D -t "$pkgdir/usr/share/calibre/system-plugins" \ 'KePub Input.zip' \ 'KePub Metadata Reader.zip' \ 'KePub Metadata Writer.zip' \ 'KePub Output.zip' \ 'KoboTouchExtended.zip' }