[arch-commits] Commit in gedit-plugins/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Sep 13 09:43:46 UTC 2019


    Date: Friday, September 13, 2019 @ 09:43:46
  Author: heftig
Revision: 362471

3.34.0-1

Modified:
  gedit-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-13 09:43:01 UTC (rev 362470)
+++ PKGBUILD	2019-09-13 09:43:46 UTC (rev 362471)
@@ -6,7 +6,7 @@
 # Contributor: zhuqin <zhuqin83 at gmail.com>
 
 pkgname=gedit-plugins
-pkgver=3.32.2
+pkgver=3.34.0
 pkgrel=1
 pkgdesc="Collection of plugins for the gedit Text Editor"
 url="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins"
@@ -14,11 +14,11 @@
 license=(GPL)
 depends=(gedit python-dbus python-cairo)
 makedepends=(vte3 libgit2-glib gucharmap gobject-introspection vala yelp-tools
-             appstream-glib git)
+             appstream-glib git meson)
 optdepends=('gucharmap: for charmap plugin'
             'vte3: for embedded terminal'
             'libgit2-glib: for git plugin')
-_commit=8a5676e03499819f483d097def826b0f42fc2396  # tags/3.32.2^0
+_commit=6b60c33847edd161f3ddb812edbdb581619a9687  # tags/3.34.0^0
 source=("git+https://gitlab.gnome.org/GNOME/gedit-plugins.git#commit=$_commit")
 sha512sums=('SKIP')
 
@@ -29,19 +29,22 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build \
+    -D plugin_zeitgeist=false
+  ninja -C build
 }
 
+check() {
+  meson test -C build --print-errorlogs
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  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:



More information about the arch-commits mailing list