Date: Monday, April 11, 2022 @ 12:31:46 Author: alerque Revision: 1185834
upgpkg: tepl 6.00.0-4; update upstream URL Modified: tepl/trunk/PKGBUILD ----------+ PKGBUILD | 53 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 22 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-04-11 10:25:09 UTC (rev 1185833) +++ PKGBUILD 2022-04-11 12:31:46 UTC (rev 1185834) @@ -1,45 +1,54 @@ -# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> +# 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.00.0 -pkgrel=3 +pkgrel=4 +_commit=51b15258e130d2b5134f6cd5ff7f91c75e0a482a # tags/6.0.0.0^0 pkgdesc="Library that eases the development of GtkSourceView-based text editors and IDEs" -url="https://wiki.gnome.org/Projects/Tepl" +url="https://gitlab.gnome.org/Archive/tepl" arch=(x86_64) license=(LGPL3) -depends=(amtk gtksourceview4 uchardet) -makedepends=(gobject-introspection gtk-doc vala git meson) +depends=(amtk + gtksourceview4 + uchardet) +makedepends=(gobject-introspection + git + gtk-doc + meson + vala) checkdepends=(xorg-server-xvfb) -_commit=51b15258e130d2b5134f6cd5ff7f91c75e0a482a # tags/6.0.0.0^0 -source=("git+https://gitlab.gnome.org/GNOME/tepl.git#commit=$_commit") +source=("git+https://gitlab.gnome.org/Archive/tepl.git#commit=$_commit") sha256sums=('SKIP') -pkgver() { - cd $pkgname - git describe --tags | sed 's/-/+/g' +prepare() { + cd $pkgname + git tag -f 6.00.0 '6.0.0.0^0'; git tag -d 6.0.0.0 # Fixup tag } -prepare() { - cd $pkgname - git tag -f 6.00.0 '6.0.0.0^0'; git tag -d 6.0.0.0 # Fixup tag +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' } build() { - arch-meson $pkgname build -D gtk_doc=true - meson compile -C 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 + xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' \ + meson test -C build --print-errorlogs } package() { - depends+=(libg{lib,object,io}-2.0.so libg{d,t}k-3.so libamtk-5.so - libgtksourceview-4.so) - provides+=("libtepl-${pkgver%%.*}.so") - - DESTDIR="$pkgdir" meson install -C build + depends+=(libamtk-5.so + libgtksourceview-4.so + libg{d,t}k-3.so + libg{lib,object,io}-2.0.so) + provides+=("libtepl-${pkgver%%.*}.so") + DESTDIR="$pkgdir" meson install -C build }
