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

Jan Steffens heftig at archlinux.org
Thu Jan 18 11:41:19 UTC 2018


    Date: Thursday, January 18, 2018 @ 11:41:18
  Author: heftig
Revision: 315073

archrelease: copy trunk to staging-x86_64

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

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

Copied: gspell/repos/staging-x86_64/PKGBUILD (from rev 315072, gspell/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-01-18 11:41:18 UTC (rev 315073)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gspell
+pkgver=1.7.1
+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=(intltool gobject-introspection vala gtk-doc autoconf-archive git)
+_commit=c90b9731ee17fd878c60f358888a2e9f889b4340  # tags/1.7.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