File PKGBUILD of Package fidei
# Arch PKGBUILD for Fidei
# Copyright (C) 2022 Florian "sp1rit" <sp1rit@national.shitposting.agency>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# Maintainer: sp1rit <sp1rit@national.shitposting.agency>
_basename=fidei
pkgname=fidei
pkgver=0
pkgrel=0
pkgdesc="Fidei is an offline GTK bible reader for GNOME, that making use of modern technologies like libadwaita"
arch=(x86_64 aarch64 armv7l ppc64le s390x riscv64)
url="https://github.com/sp1ritCS/fidei"
license=("AGPL-3.0")
depends=("glib2" "pango" "gtk4" "libadwaita" "libxml2" "icu")
makedepends=("meson" "xmlstarlet")
provides=("${_basename}")
conflicts=("${_basename}")
source=("${_basename}-${pkgver}.tar.xz")
sha256sums=('SKIP')
prepare() {
cd "${srcdir}/${_basename}-${pkgver}"
arch-meson . x86_64-pc-linux-gnu
}
build() {
cd "${srcdir}/${_basename}-${pkgver}"
ninja -C x86_64-pc-linux-gnu
}
package() {
cd "${srcdir}/${_basename}-${pkgver}"
DESTDIR="${pkgdir}" meson install -C x86_64-pc-linux-gnu
}