Date: Sunday, September 27, 2020 @ 22:39:11 Author: heftig Revision: 396860
archrelease: copy trunk to gnome-unstable-x86_64 Added: gedit-plugins/repos/gnome-unstable-x86_64/ gedit-plugins/repos/gnome-unstable-x86_64/PKGBUILD (from rev 396859, gedit-plugins/trunk/PKGBUILD) ----------+ PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) Copied: gedit-plugins/repos/gnome-unstable-x86_64/PKGBUILD (from rev 396859, gedit-plugins/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2020-09-27 22:39:11 UTC (rev 396860) @@ -0,0 +1,49 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Alexander Rødseth <rods...@gmail.com> +# Contributor: Hugo Doria <h...@archlinux.org> +# Contributor: Sergej Chodarev <serg...@centrum.sk> +# Contributor: zhuqin <zhuqi...@gmail.com> + +pkgname=gedit-plugins +pkgver=3.38.0 +pkgrel=1 +pkgdesc="Collection of plugins for the gedit Text Editor" +url="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins" +arch=(x86_64) +license=(GPL) +depends=(gedit python-dbus python-cairo) +makedepends=(vte3 libgit2-glib gucharmap gobject-introspection vala yelp-tools + appstream-glib git meson) +optdepends=('gucharmap: for charmap plugin' + 'vte3: for embedded terminal' + 'libgit2-glib: for git plugin') +_commit=ff08d2a02a6a1084a37ed736d7bf0328ebd9df31 # tags/3.38.0^0 +source=("git+https://gitlab.gnome.org/GNOME/gedit-plugins.git#commit=$_commit") +sha512sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname +} + +build() { + arch-meson $pkgname build + meson compile -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + DESTDIR="$pkgdir" meson install -C build + python -m compileall -d /usr "$pkgdir/usr" + python -O -m compileall -d /usr "$pkgdir/usr" +} + +# vim:set ts=2 sw=2 et: