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

Jan Steffens heftig at gemini.archlinux.org
Tue Apr 19 14:03:47 UTC 2022


    Date: Tuesday, April 19, 2022 @ 14:03:47
  Author: heftig
Revision: 442922

archrelease: copy trunk to extra-x86_64

Added:
  gspell/repos/extra-x86_64/PKGBUILD
    (from rev 442921, gspell/trunk/PKGBUILD)
Deleted:
  gspell/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 41 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-19 14:03:17 UTC (rev 442921)
+++ PKGBUILD	2022-04-19 14:03:47 UTC (rev 442922)
@@ -1,37 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gspell
-pkgver=1.8.4
-pkgrel=1
-pkgdesc="a flexible API to implement the spell checking in a GTK+ application"
-url="https://wiki.gnome.org/Projects/gspell"
-arch=(x86_64)
-license=(GPL2)
-depends=(gtk3 enchant libxml2 iso-codes)
-makedepends=(gobject-introspection vala gtk-doc autoconf-archive git)
-_commit=afd6d46d900dff621be840079c34488d9b3e8259
-source=("git+https://gitlab.gnome.org/GNOME/gspell.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd "$pkgname"
-  ./configure  --prefix=/usr --enable-gtk-doc
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package(){
-  cd "$pkgname"
-  make DESTDIR="$pkgdir" install
-}

Copied: gspell/repos/extra-x86_64/PKGBUILD (from rev 442921, gspell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-19 14:03:47 UTC (rev 442922)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gspell
+pkgver=1.10.0
+pkgrel=1
+pkgdesc="Spell-checking library for GTK applications"
+url="https://gitlab.gnome.org/GNOME/gspell"
+arch=(x86_64)
+license=(LGPL)
+depends=(gtk3 enchant libxml2 iso-codes)
+makedepends=(gobject-introspection vala gtk-doc autoconf-archive git)
+options=(debug)
+_commit=59d9cad6f3d1923d87b4ef0352a6539cd6aac52e  # tags/1.10.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gspell.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd gspell
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd gspell
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd gspell
+  ./configure  --prefix=/usr --enable-gtk-doc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package(){
+  depends+=(libg{lib,object,io}-2.0.so libgtk-3.so libenchant-2.so)
+  provides+=("libgspell-${pkgver%%.*}.so")
+
+  cd gspell
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list