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

Jan Steffens heftig at archlinux.org
Tue Sep 27 17:04:01 UTC 2016


    Date: Tuesday, September 27, 2016 @ 17:04:00
  Author: heftig
Revision: 277062

0.9.10+2+g71a4333-1

Modified:
  mm-common/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++--------
 1 file changed, 23 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 17:00:23 UTC (rev 277061)
+++ PKGBUILD	2016-09-27 17:04:00 UTC (rev 277062)
@@ -1,26 +1,41 @@
 # $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=mm-common
-pkgver=0.9.10
+pkgver=0.9.10+2+g71a4333
 pkgrel=1
 pkgdesc="Common build files of the C++ bindings"
 arch=('any')
 url="http://gtkmm.org"
 depends=('sh')
+makedepends=('libsigc++' 'git')
 license=('GPL2')
-source=(http://download.gnome.org/sources/mm-common/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
-sha256sums=('16c0e2bc196b67fbc145edaecb5dbe5818386504fe5703de27002d77140fa217')
+_commit=71a4333c8fbc85047a315dc126fe9e8e4619a6b6
+source=("git://git.gnome.org/mm-common#commit=$_commit"
+        http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag)
+sha256sums=('SKIP'
+            'fd3fed61b637e3e6e24794f8c40b22002f8ac154a8c5cc1f3a5b3ad7c8f4be4c')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  cp ../libstdc++.tag doctags
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr
+  cd $pkgname
+  ./configure --prefix=/usr --disable-network
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list