[arch-commits] Commit in gdl/repos (4 files)

Jan de Groot jgc at archlinux.org
Mon Oct 31 09:04:44 UTC 2016


    Date: Monday, October 31, 2016 @ 09:04:43
  Author: jgc
Revision: 279518

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  gdl/repos/extra-i686/PKGBUILD
    (from rev 279517, gdl/trunk/PKGBUILD)
  gdl/repos/extra-x86_64/PKGBUILD
    (from rev 279517, gdl/trunk/PKGBUILD)
Deleted:
  gdl/repos/extra-i686/PKGBUILD
  gdl/repos/extra-x86_64/PKGBUILD

-----------------------+
 /PKGBUILD             |   76 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD   |   26 ----------------
 extra-x86_64/PKGBUILD |   26 ----------------
 3 files changed, 76 insertions(+), 52 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2016-10-31 09:04:38 UTC (rev 279517)
+++ extra-i686/PKGBUILD	2016-10-31 09:04:43 UTC (rev 279518)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gdl
-pkgver=3.20.0
-pkgrel=1
-pkgdesc="GNOME Docking Library"
-arch=(i686 x86_64)
-license=('GPL')
-url="http://www.gnome.org/"
-depends=('gtk3')
-makedepends=('gtk-doc' 'intltool' 'gobject-introspection')
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('53d3a3bb9b9be25b3a40c644fdbbb57a5a63ee1f5f839c2266d1cd9779360e8b')
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --disable-static
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}

Copied: gdl/repos/extra-i686/PKGBUILD (from rev 279517, gdl/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2016-10-31 09:04:43 UTC (rev 279518)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gdl
+pkgver=3.22.0
+pkgrel=1
+pkgdesc="GNOME Docking Library"
+arch=(i686 x86_64)
+license=('GPL')
+url="http://www.gnome.org/"
+depends=('gtk3')
+makedepends=('gtk-doc' 'intltool' 'gobject-introspection' gnome-common git)
+_commit=4d878257865371dfbb1662f4d17b12b3ed334cb6  # tags/GDL_3_22_0^0
+source=("git://git.gnome.org/gdl#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^GDL_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd "$pkgname"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static --enable-gtk-doc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd "$pkgname"
+  make DESTDIR="$pkgdir" install
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2016-10-31 09:04:38 UTC (rev 279517)
+++ extra-x86_64/PKGBUILD	2016-10-31 09:04:43 UTC (rev 279518)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gdl
-pkgver=3.20.0
-pkgrel=1
-pkgdesc="GNOME Docking Library"
-arch=(i686 x86_64)
-license=('GPL')
-url="http://www.gnome.org/"
-depends=('gtk3')
-makedepends=('gtk-doc' 'intltool' 'gobject-introspection')
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('53d3a3bb9b9be25b3a40c644fdbbb57a5a63ee1f5f839c2266d1cd9779360e8b')
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --disable-static
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}

Copied: gdl/repos/extra-x86_64/PKGBUILD (from rev 279517, gdl/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2016-10-31 09:04:43 UTC (rev 279518)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gdl
+pkgver=3.22.0
+pkgrel=1
+pkgdesc="GNOME Docking Library"
+arch=(i686 x86_64)
+license=('GPL')
+url="http://www.gnome.org/"
+depends=('gtk3')
+makedepends=('gtk-doc' 'intltool' 'gobject-introspection' gnome-common git)
+_commit=4d878257865371dfbb1662f4d17b12b3ed334cb6  # tags/GDL_3_22_0^0
+source=("git://git.gnome.org/gdl#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^GDL_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd "$pkgname"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static --enable-gtk-doc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd "$pkgname"
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list