[arch-commits] Commit in gspell/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Tue Apr 19 14:03:18 UTC 2022
Date: Tuesday, April 19, 2022 @ 14:03:17
Author: heftig
Revision: 442921
1.10.0-1
Modified:
gspell/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-19 13:51:27 UTC (rev 442920)
+++ PKGBUILD 2022-04-19 14:03:17 UTC (rev 442921)
@@ -1,31 +1,32 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=gspell
-pkgver=1.8.4
+pkgver=1.10.0
pkgrel=1
-pkgdesc="a flexible API to implement the spell checking in a GTK+ application"
-url="https://wiki.gnome.org/Projects/gspell"
+pkgdesc="Spell-checking library for GTK applications"
+url="https://gitlab.gnome.org/GNOME/gspell"
arch=(x86_64)
-license=(GPL2)
+license=(LGPL)
depends=(gtk3 enchant libxml2 iso-codes)
makedepends=(gobject-introspection vala gtk-doc autoconf-archive git)
-_commit=afd6d46d900dff621be840079c34488d9b3e8259
+options=(debug)
+_commit=59d9cad6f3d1923d87b4ef0352a6539cd6aac52e # tags/1.10.0^0
source=("git+https://gitlab.gnome.org/GNOME/gspell.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
+ cd gspell
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
- cd $pkgname
+ cd gspell
NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd "$pkgname"
+ cd gspell
./configure --prefix=/usr --enable-gtk-doc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
@@ -32,6 +33,9 @@
}
package(){
- cd "$pkgname"
+ 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