[arch-commits] Commit in gedit-plugins/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Sep 13 09:44:00 UTC 2019


    Date: Friday, September 13, 2019 @ 09:43:59
  Author: heftig
Revision: 362473

archrelease: copy trunk to extra-x86_64

Added:
  gedit-plugins/repos/extra-x86_64/PKGBUILD
    (from rev 362471, gedit-plugins/trunk/PKGBUILD)
Deleted:
  gedit-plugins/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   97 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 50 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-13 09:43:59 UTC (rev 362472)
+++ PKGBUILD	2019-09-13 09:43:59 UTC (rev 362473)
@@ -1,47 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Hugo Doria <hugo at archlinux.org>
-# Contributor: Sergej Chodarev <sergejx at centrum.sk>
-# Contributor: zhuqin <zhuqin83 at gmail.com>
-
-pkgname=gedit-plugins
-pkgver=3.32.2
-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)
-optdepends=('gucharmap: for charmap plugin'
-            'vte3: for embedded terminal'
-            'libgit2-glib: for git plugin')
-_commit=8a5676e03499819f483d097def826b0f42fc2396  # tags/3.32.2^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
-  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
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: gedit-plugins/repos/extra-x86_64/PKGBUILD (from rev 362471, gedit-plugins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-13 09:43:59 UTC (rev 362473)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+# Contributor: Sergej Chodarev <sergejx at centrum.sk>
+# Contributor: zhuqin <zhuqin83 at gmail.com>
+
+pkgname=gedit-plugins
+pkgver=3.34.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=6b60c33847edd161f3ddb812edbdb581619a9687  # tags/3.34.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 \
+    -D plugin_zeitgeist=false
+  ninja -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:


More information about the arch-commits mailing list