makedeb


bookworm 1.1.2-3


A simple and focused eBook reader

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for bookworm.

# Maintainer: hiddeninthesand <hiddeninthesand at pm dot me>

# Contributor: Hunter Wittenborn <hunter@hunterwittenborn.com>
pkgname="bookworm"
_gitname="bookworm"
pkgver="1.1.2"
pkgrel="3"
pkgdesc="A simple and focused eBook reader"
arch=('any')
url="https://github.com/babluboy/bookworm"
makedepends=('unzip' 'poppler-utils' 'unar' 'html2text' 'python2.7' 'libgtk-3-dev' 'libgee-0.8-dev' 'libgranite-dev' 'libsqlite3-dev' 'libxml2-dev' 'webkit2gtk-4.0' 'libwebkit2gtk-4.0-37' 'libpoppler-glib-dev' 'meson' 'valac' 'gettext' 'curl' 'ninja-build' 'appstream' 'git')

source=("git+${url}.git#tag=${pkgver}")
sha256sums=('SKIP')
conflicts=("${_gitname}-git" "${_gitname}-bin")

build() {
    cd "${_gitname}"
    meson build --prefix=/usr
    cd build/
    ninja
}

package() {
    cd "${_gitname}/build"
    DESTDIR="${pkgdir}" ninja install
}