[arch-commits] Commit in gnome-mines/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 20:23:24 UTC 2016
Date: Tuesday, September 27, 2016 @ 20:23:24
Author: heftig
Revision: 277165
3.22.0+3+g2a47912-1
Modified:
gnome-mines/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 20:22:21 UTC (rev 277164)
+++ PKGBUILD 2016-09-27 20:23:24 UTC (rev 277165)
@@ -3,23 +3,31 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=gnome-mines
-pkgver=3.20.1
+pkgver=3.22.0+3+g2a47912
pkgrel=1
pkgdesc="Clear hidden mines from a minefield"
url="https://wiki.gnome.org/Apps/Mines"
arch=(i686 x86_64)
license=(GPL)
-depends=(gtk3 librsvg)
-makedepends=(intltool itstool gobject-introspection)
-conflicts=(gnome-games)
-replaces=(gnome-games)
-options=(!emptydirs)
+depends=(gtk3 librsvg libgnome-games-support)
+makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib vala git)
groups=(gnome-extra)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('5815e886d92817d4127b9e94bf63cb91e2bf371029d18efdf9f195e2400e2b3b')
+_commit=2a479121ed067e730254d42c6b9436da5feb7b2c # master
+source=("git://git.gnome.org/gnome-mines#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