aports/community/foliate/APKBUILD

41 lines
1,005 B
Text

# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=foliate
pkgver=3.3.0
pkgrel=0
pkgdesc="Simple and modern eBook viewer"
url="https://johnfactotum.github.io/foliate/"
arch="noarch !armhf !s390x" # missing gjs
license="GPL-3.0-or-later"
depends="
desktop-file-utils
gjs
libadwaita
webkit2gtk-6.0
"
makedepends="
gettext-dev
gjs-dev
glib-dev
gtk4.0-dev
libadwaita-dev
meson
webkit2gtk-6.0-dev
"
subpackages="$pkgname-lang"
options="!check"
source="$pkgname-$pkgver.tar.xz::https://github.com/johnfactotum/foliate/releases/download/$pkgver/com.github.johnfactotum.Foliate-$pkgver.tar.xz"
builddir="$srcdir/com.github.johnfactotum.Foliate-$pkgver"
build() {
abuild-meson . output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
667abb9c0325492f20eb21ba0d6588c8da220a4c150bd7e41669a32ebb6e45ffa60163b183953f782ba1d079469cda7eb322575cbfa0f866b6015adbb864c91f foliate-3.3.0.tar.xz
"