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

Jan Steffens heftig at gemini.archlinux.org
Mon Nov 8 20:10:12 UTC 2021


    Date: Monday, November 8, 2021 @ 20:10:12
  Author: heftig
Revision: 427585

41.1-1

Modified:
  gnote/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++------------------
 1 file changed, 8 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-08 20:09:25 UTC (rev 427584)
+++ PKGBUILD	2021-11-08 20:10:12 UTC (rev 427585)
@@ -1,10 +1,10 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
 # Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 # Contributor: uastasi <uastasi at archlinux.us>
 
 pkgname=gnote
-pkgver=40.1
+pkgver=41.1
 pkgrel=1
 pkgdesc="A note taking application"
 url="https://wiki.gnome.org/Apps/Gnote"
@@ -11,8 +11,8 @@
 arch=(x86_64)
 license=(GPL3)
 depends=(gtkmm3 gspell libxslt dconf libsecret)
-makedepends=(intltool yelp-tools autoconf-archive git)
-_commit=07534e3f586761ac18b69a7d633585eaf340936b  # tags/40.1^0
+makedepends=(yelp-tools meson git)
+_commit=236c6b0d109814e39daf8a6c404df21445afaf73  # tags/41.1^0
 source=("git+https://gitlab.gnome.org/GNOME/gnote.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -23,27 +23,17 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --libexecdir=/usr/lib \
-    --disable-schemas-compile \
-    --disable-static
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build
+  meson compile -C build
 }
 
 check() {
-  cd $pkgname
-  make check
+  meson test -C build
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  meson install -C build --destdir "$pkgdir"
 }



More information about the arch-commits mailing list