[arch-commits] Commit in five-or-more/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 20:15:39 UTC 2016
Date: Tuesday, September 27, 2016 @ 20:15:39
Author: heftig
Revision: 277158
3.22.0+2+g8d9b224-1
Modified:
five-or-more/trunk/PKGBUILD
----------+
PKGBUILD | 34 +++++++++++++++++++++-------------
1 file changed, 21 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 20:15:23 UTC (rev 277157)
+++ PKGBUILD 2016-09-27 20:15:39 UTC (rev 277158)
@@ -3,23 +3,31 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=five-or-more
-pkgver=3.20.2
+pkgver=3.22.0+2+g8d9b224
pkgrel=1
pkgdesc="Remove colored balls from the board by forming lines"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('gtk3' 'librsvg')
-makedepends=('intltool' 'itstool' 'gobject-introspection')
-conflicts=('gnome-games')
-replaces=('gnome-games')
-options=('!emptydirs')
url="https://wiki.gnome.org/Apps/Five%20or%20more"
-groups=('gnome-extra')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('1e129c705eb09638d1515c2d8fe1925db7d9bcb8db4a01df591a9b98de2a73d1')
+arch=(i686 x86_64)
+license=(GPL)
+depends=(gtk3 librsvg)
+makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib git)
+groups=(gnome-extra)
+_commit=8d9b224d3e77812119c2e5e1da514a312fa9445f # master
+source=("git://git.gnome.org/five-or-more#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