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

Jan de Groot jgc at archlinux.org
Wed Nov 22 11:47:59 UTC 2017


    Date: Wednesday, November 22, 2017 @ 11:47:58
  Author: jgc
Revision: 310567

archrelease: copy trunk to staging-x86_64

Added:
  gspell/repos/staging-x86_64/
  gspell/repos/staging-x86_64/PKGBUILD
    (from rev 310566, gspell/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: gspell/repos/staging-x86_64/PKGBUILD (from rev 310566, gspell/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-11-22 11:47:58 UTC (rev 310567)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gspell
+pkgver=1.6.1
+pkgrel=2
+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=(intltool gobject-introspection vala gtk-doc autoconf-archive git)
+_commit=f2823c994b9af57d91e75c54bd1ec68a1dee5767  # tags/1.6.1^0
+source=("git+https://git.gnome.org/browse/gspell#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
+}



More information about the arch-commits mailing list