File PKGBUILD of Package notekit
# Arch PKGBUILD for NoteKit
# Copyright (C) 2021/22 Florian "sp1rit" <packaging@sp1rit.anonaddy.me>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# Maintainer: Florian "sp1rit" <packaging@sp1rit.anonaddy.me>
_basename=notekit
pkgname="${_basename}"
pkgver=0
pkgrel=1
pkgdesc="A GTK3 hierarchical markdown notetaking application with tablet support."
arch=("x86_64" "aarch64" "i686" "armv7h" "s390x")
url="https://github.com/blackhole89/notekit"
license=("GPL-3.0")
depends=("fontconfig" "clatexmath" "gtkmm3>=3.2" "gtksourceviewmm>=3.18" "jsoncpp" "zlib")
makedepends=("meson")
provides=("${_basename}")
conflicts=("${_basename}" "${_basename}-git")
source=("${_basename}-${pkgver}.tar.xz")
sha256sums=("SKIP")
prepare() {
cd "${srcdir}/${_basename}-${pkgver}"
arch-meson . _build
}
build() {
cd "${srcdir}/${_basename}-${pkgver}"
ninja -C _build
}
package() {
cd "${srcdir}/${_basename}-${pkgver}"
DESTDIR="${pkgdir}" meson install -C _build
}