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

Jan Steffens heftig at archlinux.org
Tue Sep 27 17:52:03 UTC 2016


    Date: Tuesday, September 27, 2016 @ 17:52:02
  Author: heftig
Revision: 277074

0.18.0+7+gb8babe6-1

Modified:
  libgee/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++++++++---------
 1 file changed, 20 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 17:48:05 UTC (rev 277073)
+++ PKGBUILD	2016-09-27 17:52:02 UTC (rev 277074)
@@ -3,25 +3,36 @@
 # Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
 
 pkgname=libgee
-pkgver=0.18.0
+pkgver=0.18.0+7+gb8babe6
 pkgrel=1
-pkgdesc="GObject collection library"
-url="http://live.gnome.org/Libgee"
+pkgdesc="A collection library providing GObject-based interfaces and classes for commonly used data structures"
+url="https://git.gnome.org/browse/libgee"
 license=(LGPL2.1)
 arch=(i686 x86_64)
 depends=(glib2)
-makedepends=(gobject-introspection vala)
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('4ad99ef937d071b4883c061df40bfe233f7649d50c354cf81235f180b4244399')
+makedepends=(gobject-introspection vala autoconf-archive git valadoc)
+_commit=b8babe694859fe02a6113c4b7ab3cc2a8b3649b2
+source=("git://git.gnome.org/libgee#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 --disable-static
   make
 }
 
 check() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   # generates a bazillion traps - make sure systemd's core_pattern
   # is deactivated, or you'll DoS the journal and the system
   #make check
@@ -28,6 +39,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list