upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / bookworm / trunk / PKGBUILD
blob04ab0bf60aa63f60c30bb3a5a552706ec044eee8
1 # Contributor: ValHue <vhuelamo at gmail dot com>
3 pkgname=bookworm
4 pkgver=1.1.2
5 pkgrel=3
6 pkgdesc='A simple user centric eBook reader which displays multiple eBooks formats uniformly'
7 url='https://babluboy.github.io/bookworm'
8 arch=(x86_64)
9 license=(GPL3)
10 depends=(granite poppler-glib python unarchiver unzip webkit2gtk python-html2text)
11 makedepends=(meson vala ninja)
12 source=(bookworm-$pkgver.tar.gz::https://github.com/babluboy/bookworm/archive/$pkgver.tar.gz
13             html2text.patch)
14 sha256sums=('6d27e55697debfa08f7cc15805413b74c94c55111cdf2d333b306228eccad824'
15             'a90f0753d54aa8f3b72816494928f8e9b72bf26fccd477adfa495e9e2c93dc42')
17 prepare() {
18   cd bookworm-$pkgver
19   patch -p1 < ../html2text.patch
20   mkdir build
23 build() {
24   cd bookworm-$pkgver
25   meson build --prefix=/usr
26   cd build
27   ninja
30 package() {
31   cd bookworm-$pkgver/build
33   DESTDIR="$pkgdir" ninja install
34   install -m644 -D ../COPYING "$pkgdir"/usr/share/licenses/bookworm/COPYING