[arch-commits] Commit in gspell/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Sep 28 08:28:53 UTC 2016


    Date: Wednesday, September 28, 2016 @ 08:28:53
  Author: jgc
Revision: 277228

upgpkg: gspell 1.2.0+2+g124a69f-1

Modified:
  gspell/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-28 07:47:17 UTC (rev 277227)
+++ PKGBUILD	2016-09-28 08:28:53 UTC (rev 277228)
@@ -1,7 +1,7 @@
 # $Id$
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 pkgname=gspell
-pkgver=1.0.3
+pkgver=1.2.0+2+g124a69f
 pkgrel=1
 pkgdesc="a flexible API to implement the spell checking in a GTK+ application"
 arch=('i686' 'x86_64')
@@ -8,17 +8,28 @@
 url="https://wiki.gnome.org/Projects/gspell"
 license=('GPL2')
 depends=('gtk3' 'enchant' 'libxml2' 'iso-codes')
-makedepends=('intltool' 'gobject-introspection' 'vala')
-source=(https://download.gnome.org/sources/gspell/${pkgver:0:3}/gspell-${pkgver}.tar.xz)
-sha256sums=('d95905e6c631e34911e8e3feeb364815bf3fd7ccd1dac118a34bcbae70261bd5')
+makedepends=('intltool' 'gobject-introspection' 'vala' gtk-doc autoconf-archive git)
+_commit=124a69f276735fdc1f5b6bfb0460529ce62c444e  # master
+source=("git://git.gnome.org/gspell#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd "$pkgname-$pkgver"
-  ./configure  --prefix=/usr
+  cd "$pkgname"
+  ./configure  --prefix=/usr --enable-gtk-doc
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 package(){
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list