Date: Monday, May 1, 2023 @ 20:51:43
  Author: heftig
Revision: 476239

1.12.1-1

Modified:
  gspell/trunk/PKGBUILD

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++----------
 1 file changed, 32 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-01 20:50:02 UTC (rev 476238)
+++ PKGBUILD    2023-05-01 20:51:43 UTC (rev 476239)
@@ -2,17 +2,28 @@
 # Contributor: Jan de Groot <[email protected]>
 
 pkgname=gspell
-pkgver=1.12.0
-pkgrel=2
+pkgver=1.12.1
+pkgrel=1
 pkgdesc="Spell-checking library for GTK applications"
 url="https://gitlab.gnome.org/GNOME/gspell";
 arch=(x86_64)
 license=(LGPL)
-depends=(glib2 gtk3 enchant icu)
-makedepends=(gobject-introspection vala gtk-doc autoconf-archive git)
-_commit=433999a26171030de17dcdceabeae3c4274352a4  # tags/1.12.0^0
+depends=(
+  enchant
+  glib2
+  gtk3
+  icu
+)
+makedepends=(
+  autoconf-archive
+  git
+  gobject-introspection
+  gtk-doc
+  vala
+)
+_commit=d04dec63809b009c1ab12b2f80ceeeeab4709a48  # tags/1.12.1^0
 source=("git+https://gitlab.gnome.org/GNOME/gspell.git#commit=$_commit";)
-sha256sums=('SKIP')
+b2sums=('SKIP')
 
 pkgver() {
   cd gspell
@@ -25,16 +36,27 @@
 }
 
 build() {
+  local configure_options=(
+    --prefix=/usr
+    --sysconfdir=/etc
+    --localstatedir=/var
+    --enable-gtk-doc
+  )
+
   cd gspell
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --enable-gtk-doc
+  ./configure "${configure_options[@]}"
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
 package(){
-  depends+=(libg{lib,object,io}-2.0.so libpango-1.0.so libgtk-3.so
-            libenchant-2.so libicuuc.so)
+  depends+=(
+    libenchant-2.so
+    libgtk-3.so
+    libg{lib,object,io}-2.0.so
+    libicuuc.so
+    libpango-1.0.so
+  )
   provides+=("libgspell-${pkgver%%.*}.so")
 
   cd gspell

Reply via email to