summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTest User2020-04-12 10:24:04 -0600
committerTest User2020-04-12 10:24:04 -0600
commitdb1739073bf543926d95c8c6a1b320b92baedea9 (patch)
tree7a61374a7ac0e48237b224e86dda661e709e1e4e
downloadaur-db1739073bf543926d95c8c6a1b320b92baedea9.tar.gz
initial commit
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD34
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..db6d58394bd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+pkgbase = apostrophe-git
+ pkgdesc = A distraction free Markdown editor for GNU/Linux made with GTK+
+ pkgver = 2.2.0.beta1.4.r283.g219fa89
+ pkgrel = 1
+ url = https://gitlab.gnome.org/somas/apostrophe
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = meson
+ makedepends = appstream-glib
+ depends = gtk3
+ depends = webkit2gtk
+ depends = gspell
+ depends = python-pypandoc
+ depends = python-regex
+ depends = python-levenshtein
+ depends = python-pyenchant
+ depends = python-gobject
+ depends = python-cairo
+ optdepends = texlive-core: Export as PDF files
+ optdepends = otf-fira-mono: Recommended font (OTF)
+ optdepends = ttf-fira-mono: Recommended font (TTF)
+ provides = apostrophe
+ conflicts = apostrophe
+ source = git+https://gitlab.gnome.org/somas/apostrophe.git
+ sha256sums = SKIP
+
+pkgname = apostrophe-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dbbda60d8ec
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
+# Co-Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix
+# Contributor: Philip Goto <philip.goto@gmail.com>
+pkgname=apostrophe-git
+pkgver=2.2.0.beta1.4.r283.g219fa89
+pkgrel=1
+pkgdesc="A distraction free Markdown editor for GNU/Linux made with GTK+"
+arch=('any')
+url="https://gitlab.gnome.org/somas/apostrophe"
+license=('GPL3')
+depends=('gtk3' 'webkit2gtk' 'gspell' 'python-pypandoc' 'python-regex' 'python-levenshtein'
+ 'python-pyenchant' 'python-gobject' 'python-cairo')
+makedepends=('git' 'meson' 'appstream-glib')
+optdepends=('texlive-core: Export as PDF files'
+ 'otf-fira-mono: Recommended font (OTF)'
+ 'ttf-fira-mono: Recommended font (TTF)')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=('git+https://gitlab.gnome.org/somas/apostrophe.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ arch-meson "${pkgname%-git}" build
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}