[arch-commits] Commit in gnome-mahjongg/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 18:30:59 UTC 2016
Date: Tuesday, September 27, 2016 @ 18:30:58
Author: heftig
Revision: 277087
3.22.0+1+g55799c1-1
Modified:
gnome-mahjongg/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++--------------
1 file changed, 22 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 18:17:49 UTC (rev 277086)
+++ PKGBUILD 2016-09-27 18:30:58 UTC (rev 277087)
@@ -3,23 +3,31 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=gnome-mahjongg
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.22.0+1+g55799c1
+pkgrel=1
pkgdesc="Disassemble a pile of tiles by removing matching pairs"
url="https://wiki.gnome.org/Apps/Mahjongg"
-arch=('i686' 'x86_64')
-license=('GPL2')
-depends=('gtk3' 'librsvg')
-makedepends=('intltool' 'itstool' 'gobject-introspection')
-conflicts=('gnome-games')
-replaces=('gnome-games')
-options=('!emptydirs')
-groups=('gnome-extra')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('d09bb1923636dfd05b6f3a5af8d6fe7b6daa1434e2c06188dd27c96a61cea00a')
+arch=(i686 x86_64)
+license=(GPL2)
+depends=(gtk3 librsvg)
+makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib git vala)
+groups=(gnome-extra)
+_commit=55799c1d89fe09cc14da8859514045628a5501fe
+source=("git://git.gnome.org/gnome-mahjongg#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-schemas-compile
make
@@ -26,6 +34,6 @@
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list