[arch-commits] Commit in gnome-dictionary/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Wed Sep 28 14:10:37 UTC 2016
Date: Wednesday, September 28, 2016 @ 14:10:36
Author: jgc
Revision: 277256
upgpkg: gnome-dictionary 3.20.0+28+g7dce582-1
Modified:
gnome-dictionary/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-28 13:19:12 UTC (rev 277255)
+++ PKGBUILD 2016-09-28 14:10:36 UTC (rev 277256)
@@ -2,27 +2,38 @@
# Maintainer: Ionut Biru <ibiru at archlinux.org>
pkgname=gnome-dictionary
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.20.0+28+g7dce582
+pkgrel=1
pkgdesc="Look up words in dictionary sources"
arch=(i686 x86_64)
url="https://wiki.gnome.org/Apps/Dictionary"
license=('GPL2')
depends=('dconf' 'gtk3')
-makedepends=('intltool' 'itstool' 'docbook-xsl')
+makedepends=('intltool' 'itstool' 'docbook-xsl' gtk-doc yelp-tools git gobject-introspection)
groups=('gnome')
-source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('efb36377d46eff9291d3b8fec37baab2355f9dc8bc7edb791b6a625574716121')
+_commit=7dce582599f483e6a2e541ce772e8e225341c280 # master
+source=("git://git.gnome.org/gnome-dictionary#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