mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-02 22:41:33 +01:00
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=apostrophe
|
|
pkgver=2.4
|
|
pkgrel=1
|
|
pkgdesc="distraction free Markdown editor for GNU/Linux made with GTK+"
|
|
url="https://gitlab.gnome.org/somas/apostrophe"
|
|
arch="x86_64" # py3-pypandoc
|
|
license="GPL-3.0-or-later"
|
|
depends="py3-regex py3-setuptools py3-levenshtein py3-enchant py3-gobject3
|
|
py3-cairo py3-pypandoc webkit2gtk gtk+3.0 libhandy1 py3-chardet gspell"
|
|
makedepends="meson gtk+3.0-dev gobject-introspection-dev gspell-dev gettext-dev
|
|
libhandy1-dev"
|
|
checkdepends="appstream-glib desktop-file-utils"
|
|
subpackages="$pkgname-lang"
|
|
source="https://gitlab.gnome.org/somas/apostrophe/-/archive/v$pkgver/apostrophe-v$pkgver.tar.gz
|
|
dont-require-py-gettext.patch
|
|
"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild -v -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="3fc552d1b3ab6c370aa1e9ef26aa2b7b0f054b7d903025dbd2c43ae22aa1f35c7ea3acf4833190d65f8d72a4ce927fe166843d1f5ca074b96fb57ef1d6ed8ef4 apostrophe-v2.4.tar.gz
|
|
a46505e246af5d6ebf99d8585eb5f99046a71f0c54328f0c07caef046dd0f9e403ba0be89703621f1644fd5d4be7f74fdf7308356f38afe7f21c5c57eaf08a57 dont-require-py-gettext.patch"
|