Date: Thursday, November 3, 2022 @ 21:57:07
Author: arojas
Revision: 1341721
archrelease: copy trunk to community-staging-x86_64
Added:
tepl/repos/community-staging-x86_64/
tepl/repos/community-staging-x86_64/PKGBUILD
(from rev 1341720, tepl/trunk/PKGBUILD)
----------+
PKGBUILD | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
Copied: tepl/repos/community-staging-x86_64/PKGBUILD (from rev 1341720,
tepl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-11-03 21:57:07 UTC (rev 1341721)
@@ -0,0 +1,55 @@
+# Maintainer:
+# Contributor: Caleb Maclennan <[email protected]>
+# Contributor: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Tobias Bohrmann (PlainTextField) <[email protected]>
+
+pkgname=tepl
+pkgver=6.2.0
+pkgrel=1
+epoch=1
+_commit=34973a0d48ba5a0dd0a776c66bfc0c3f65682d9c
+pkgdesc="Library that eases the development of GtkSourceView-based text
editors and IDEs"
+url="https://gitlab.gnome.org/swilmet/tepl"
+arch=(x86_64)
+license=(LGPL3)
+depends=(amtk
+ gtksourceview4
+ uchardet)
+makedepends=(gobject-introspection
+ git
+ gtk-doc
+ meson
+ vala)
+checkdepends=(xorg-server-xvfb)
+options=(debug)
+source=("git+https://gitlab.gnome.org/swilmet/tepl.git#commit=$_commit")
+sha256sums=('SKIP')
+
+prepare() {
+ cd $pkgname
+}
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+build() {
+ arch-meson $pkgname build -D gtk_doc=true
+ meson compile -C build
+}
+
+check() {
+ xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' \
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ depends+=(libamtk-5.so
+ libgtksourceview-4.so
+ libg{d,t}k-3.so
+ libg{lib,object,io}-2.0.so)
+ provides+=("libtepl-${pkgver%%.*}.so")
+ meson install -C build --destdir "$pkgdir"
+}