Date: Saturday, February 20, 2016 @ 11:42:36
  Author: arojas
Revision: 260068

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

Added:
  gsl/repos/staging-i686/
  gsl/repos/staging-i686/PKGBUILD
    (from rev 260067, gsl/trunk/PKGBUILD)
  gsl/repos/staging-i686/gsl.install
    (from rev 260067, gsl/trunk/gsl.install)
  gsl/repos/staging-x86_64/
  gsl/repos/staging-x86_64/PKGBUILD
    (from rev 260067, gsl/trunk/PKGBUILD)
  gsl/repos/staging-x86_64/gsl.install
    (from rev 260067, gsl/trunk/gsl.install)

----------------------------+
 staging-i686/PKGBUILD      |   35 +++++++++++++++++++++++++++++++++++
 staging-i686/gsl.install   |   21 +++++++++++++++++++++
 staging-x86_64/PKGBUILD    |   35 +++++++++++++++++++++++++++++++++++
 staging-x86_64/gsl.install |   21 +++++++++++++++++++++
 4 files changed, 112 insertions(+)

Copied: gsl/repos/staging-i686/PKGBUILD (from rev 260067, gsl/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2016-02-20 10:42:36 UTC (rev 260068)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Juergen Hoetzel <juergen.archlinux.org>
+# Contributor: Tom Newsom <jeeps...@gmx.co.uk>
+
+pkgname=gsl
+pkgver=2.1
+pkgrel=1
+pkgdesc="The GNU Scientific Library (GSL) is a modern numerical library for C 
and C++ programmers"
+url="http://www.gnu.org/software/gsl/gsl.html";
+source=("http://ftp.gnu.org/gnu/gsl/$pkgname-$pkgver.tar.gz";)
+install=gsl.install
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('glibc' 'bash')
+sha1sums=('e20110bf060c4030b26c519a70c6c0e113abc9f7')
+
+build() {
+    unset LDFLAGS
+
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    ./configure --prefix=/usr
+    make
+}
+
+check() {
+    [[ $CARCH = 'i686' ]] && return 0 # 
https://lists.gnu.org/archive/html/bug-gsl/2015-11/msg00011.html
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    make check
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Copied: gsl/repos/staging-i686/gsl.install (from rev 260067, 
gsl/trunk/gsl.install)
===================================================================
--- staging-i686/gsl.install                            (rev 0)
+++ staging-i686/gsl.install    2016-02-20 10:42:36 UTC (rev 260068)
@@ -0,0 +1,21 @@
+  infodir=/usr/share/info
+  filelist=(gsl-ref.info.gz)
+
+  post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+
+  }
+
+  post_upgrade() {
+    post_install $1
+  }
+
+  pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+
+  }
+

Copied: gsl/repos/staging-x86_64/PKGBUILD (from rev 260067, gsl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2016-02-20 10:42:36 UTC (rev 260068)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Juergen Hoetzel <juergen.archlinux.org>
+# Contributor: Tom Newsom <jeeps...@gmx.co.uk>
+
+pkgname=gsl
+pkgver=2.1
+pkgrel=1
+pkgdesc="The GNU Scientific Library (GSL) is a modern numerical library for C 
and C++ programmers"
+url="http://www.gnu.org/software/gsl/gsl.html";
+source=("http://ftp.gnu.org/gnu/gsl/$pkgname-$pkgver.tar.gz";)
+install=gsl.install
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('glibc' 'bash')
+sha1sums=('e20110bf060c4030b26c519a70c6c0e113abc9f7')
+
+build() {
+    unset LDFLAGS
+
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    ./configure --prefix=/usr
+    make
+}
+
+check() {
+    [[ $CARCH = 'i686' ]] && return 0 # 
https://lists.gnu.org/archive/html/bug-gsl/2015-11/msg00011.html
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    make check
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Copied: gsl/repos/staging-x86_64/gsl.install (from rev 260067, 
gsl/trunk/gsl.install)
===================================================================
--- staging-x86_64/gsl.install                          (rev 0)
+++ staging-x86_64/gsl.install  2016-02-20 10:42:36 UTC (rev 260068)
@@ -0,0 +1,21 @@
+  infodir=/usr/share/info
+  filelist=(gsl-ref.info.gz)
+
+  post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+
+  }
+
+  post_upgrade() {
+    post_install $1
+  }
+
+  pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+
+  }
+

Reply via email to